DandelionSprout / adfilt

The place where I, DandelionSprout, store my web filter lists for countless topics, including my Nordic adblock list. As simple as that, really.
Other
1.3k stars 143 forks source link

Update StopAutoplayOnYouTube.txt #860

Closed KnightmareVIIVIIXC closed 11 months ago

KnightmareVIIVIIXC commented 1 year ago

how to automatically turn off autoplay on Dailymotion through one or more uBlock Origin entries Or this for Adguard: dailymotion.com##+js(set, inlinePlayer.setAutoPlay, false) Or this for Adblock: dailymotion.com##script:inject(noeval.js, inlinePlayer.setAutoPlay, true) I forgot to add the Adguard/Adblock entries. My bad. :(

iam-py-test commented 1 year ago

dailymotion.com * inlinePlayer.setAutoPlay false

I'm sorry, but that isn't a valid filter?

dailymotion.com##+js(set, inlinePlayer.setAutoPlay, false)

That doesn't seem to work for me in Firefox with AdGuard or uBo?

KnightmareVIIVIIXC commented 1 year ago

Are you talking about the autoplay on the homepage of daily motion or something else?

iam-py-test commented 1 year ago

Yes, I am talking about the autoplay on the homepage. Maybe I did something wrong with that scriptlet, but dailymotion.com * inlinePlayer.setAutoPlay false isn't a valid filter in uBlock Origin.

KnightmareVIIVIIXC commented 1 year ago

That script just turns of autoplay buttons I think. My bad again. I misunderstood. 0 for 2.

iam-py-test commented 1 year ago

I'll leave this up to Imre

KnightmareVIIVIIXC commented 1 year ago

Not sure if this is helpful or not, but when I use the element picker on the first video, this is what uBO is blocking: ||www.dailymotion.com/embed?api=postMessage&apimode=json&app=com.dailymotion.neon&autoplay-mute=true&client_type=website&collections-action=trigger_event&collections-enable=fullscreen_only&endscreen-enable=false&info=false&like-action=trigger_event&like-enable=fullscreen_only&queue-enable=false&sharing-action=trigger_event&sharing-enable=fullscreen_only&ui-logo=false&watchlater-action=trigger_event&watchlater-enable=fullscreen_only&dmTs=281120&wait-for-custom-config=1

DandelionSprout commented 1 year ago

dailymotion.com * inlinePlayer.setAutoPlay false seems like it was designed as a uMatrix entry, but I don't think that's how uMatrix works like. And "My Filters" in uBO is recognising it as a comment rather than an entry. image

I've had severe stomach aches for a day now and lack much ability to test entries, but I suppose we'll need to see if some modified version of dailymotion.com##+js(set, inlinePlayer.setAutoPlay, false) would work or not.

KnightmareVIIVIIXC commented 1 year ago

Yeah I've heard about the ache de la stomache. I just don't get how that affects things. It may be a thing that can't be fixed due to how it's implanted into the site.

DandelionSprout commented 1 year ago

It means I've got limited resources and time to test it, since dailymotion.com##+js(set, inlinePlayer.setAutoPlay, false) doesn't immediately seem to work verbatim.