PerkyMuffin
PerkyMuffin

Need Help Building a Chrome Extension to Mute JioHotstar Ads During IPL!

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! 🏏

25d ago
Talking product sense with Ridhi
9 min AI interview5 questions
Round 1 by Grapevine
WobblyPickle
WobblyPickle
Gif
SleepyBurrito
SleepyBurrito

ping me! will love to give it a shot and give it to you over the weekend 👀

Discover more
Curated from across
Misc
Misc18mo
by PeppyMarshmallowProduct Designer

A speacial place in hell for Hotstar

Showing 3 ads every 10 mins to users who have paid for subscriptions is silly and stupid. They are running out of ideas and happy to see Hotstar content moving to JioCinemas. Put an end to this nonsense

Post image
Confessions
by WigglyPenguinSenior Software Engineer

Idea Dump

share your silly/interesting/futuristic ideas, which are rotting away in your notes

PS: don't worry about someone stealing your idea, ideas don't matter, execution does. If market is big enough multiple players make money, anyway comp...

Top comments
user

1.Dehydration of the vegetables and fruits which are considered as poor quality (shape/size) and making Nutritional P...

user

a tv remote or earphones which automatically mutes ads

user

AI based chat bot for legal advice related to Indian Law