I’m beyond annoyed with repetitive ads like “Aaja mere Circle mein” and Kamala Pasand during IPL matches. I don’t want to join your Circle, bhai! 😤
I want a Chrome extension to mute these ads automatically when they pop up during IPL streams, then unmute when the match resumes. Is anyone up to help me build this or point me to someone who can?
What I Need: A Chrome extension that:
Detects ads (e.g., via DOM elements like .ad-container or ad URLs).
Mutes the video player during ads and unmutes for the IPL stream.
Works only during IPL matches (check URLs or titles).
Basic Code Idea (from a friend):
javascript
// content.js
const observer = new MutationObserver(() => {
const adElement = document.querySelector('.ad-container');
const video = document.querySelector('video');
if (adElement && video) video.muted = true;
else if (video) video.muted = false;
});
observer.observe(document.body, { childList: true, subtree: true });
Needs manifest.json and background.js for Chrome APIs.
Challenges: JioHotstar’s DRM and dynamic ads might make detection tricky. Also, this could violate their TOS, so I’d use it privately.
Can You Help?:
Know JavaScript/Chrome extensions? Can you tweak this code?
Recommend a freelancer?
Suggest legal ad-free IPL streaming alternatives?
DM me or comment—let’s kill these ads! 🏏