New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not an issue, only annoying in-video ads #1136
Comments
Does this work for you?
If it works I will add it to uBO's own filters. Note: No need to walk on eggs regarding filters, the guideline is simple: if something cannot be blocked by EasyList (due to ABP's limitations) or if it can be blocked by EasyList but at the cost of having to create undesirable exception filters (like |
Many thanks, gorhill! The rule you've provided above seems to do the job 👍 Off-topic : gorhill, uBlockO is really a beautiful product, the very first add-on I'd install on a new browser. really an everyday companion. And so many users happy, relaxed, unstressed... I cannot close this off-topic without wishing to you, to all, and to uBlockOrigin the Very Best For A Very Happy New Year! (and this enthusiastic sincerity is not a mental consequence of my joy to have this new rule!) Thanks again. |
I get an ad with that video: http://www.dailymotion.com/video/x3jubr9_people-wiping-out-on-their-hoverboards-is-the-gift-that-keeps-on-giving_news. |
I've just tested the video you mention, gorhill, as well, again, several others, and all ad-free.
EDIT: I've ran several Dailymotion videos right now, including those which included ads last night, and still no ads since the above rule was added. I just cannot understand how you got that in-video ad, gorhill. I wonder what Dailymotion is up to. Maybe are they basing their ad policy on a user's IP? No idea, but it's been random until the above rule and ads could theoretically re-appear since you've had at least one video with the ad. Above not only my skills but my very understanding. |
Hmm I am unable to reproduce the ad, I think I may have not been using the filter above after I added it to uBO's filter list and removed it from my custom filters. |
That would explain it all. Anyway, if I meet the in-video ads again I'll post it here if the topic is still opened. |
Not sure if I should post here since the thread is closed or open a new issue ... sorry if I mistake. I'm really not a techie guy.... The rule mentioned above, if it seemed to work for some time, appears now nonfunctional. I truly hope a rule will be able to circumvent this nasty in-video advertisement. |
I need a specific URL where you see an ad. |
I have a site with embedded Dailymotion : http://www.franceinfo.fr/ Thanks, gorhill |
These are Flash-based players. This is a live-stream of a radio station, there is no way ads can be blocked, they are not separated from the content itself. |
Flash is removed here, only HTML5, and if indeed the above site's introduction page is that of radio (audio only) I nevertheless have it play an in-video ad (randomly) before getting to the audio only radio ... just tested it again, with the video ad appearing. Maybe an HTML5 specificity? The site I mentioned, which has Dailymotion as partner, has a dedicated video page: http://www.franceinfo.fr/videos About Flash and HTML5, many sites don't call HTML5 if they notice the user's browser runs Flash ... |
There is a thread on ABP forum about this: https://adblockplus.org/forum/viewtopic.php?f=2&t=43430&p=145703. The ABP guy says this works fine with EasyList and Liste FR. Can you confirm? I get an ad here every time, with all filter lists up to date (including with ABP): http://www.dailymotion.com/video/x3l8zle_bang-gang-une-histoire-d-amour-moderne-d-eva-husson-un-film-france-info_shortfilms. |
Thanks for the ABP Forum link, I'm on my way to have a look there. About your dailymotion video, gorhill: I've just viewed it without any ad. That's what I was saying, it's totally random. I've viewed this afternoon 10-12 videos with no ads, then suddenly one with an in-video ad.... Thanks. |
When you get a video with an ad, can you tell me if you see this script in the logger:
If so, blocking this script prevents the ad from appearing on my side -- though this causes a delay before the real video starts playing, but I could remediate this on my side. |
I've just tested and was lucky (relativity!) to get an in-video ad!!! uBO Logger -> http://www.dailymotion.com/video/x3lp2li_la-france-battue-en-finale-du-tqo_sport Grrr, could that be related to the crime?! Thanks, gorhill, for your investigations. EDIT : I haven't tested blocking it (read too quickly) - I'll be back. |
Now that I want an ad video I cannot get any!!! Totally random. Just ran 15 videos (few seconds each), and no ad! Even if I block the script I'll won't know (how would I know before either an ad or 48 hrs without?). Can I ask you, gorhill, how to write the rule for blocking static1.dmcdn.net/playerv5/1f2ad7e2d3ce1a215d74.dmp.js since I can not blovk it from the Logger- Thanks |
Try
|
OK, gorhill, that's what I did before your answer (I ignore what I know!) Now, even if this script is the culprit, I'm wondering if the name is not random as well |
That's why I am investigating more before making a filter out of this. |
I ran several videos from Dailymotion with the blocking rule for the mentioned script, and all videos 1- had no ad, 2- were delayed. No idea, but terrifically tough to find a guiding line in what seems to be a multi-factor well organized ad-distribution system. EDIT : I returned to the site I mentioned far above (http://www.franceinfo.fr/) with embedded Dailymotion videos (within audio and within video) and noticed no ad AND delay ... for what it's worth. I'm starting to believe this static1.dmcdn.net/playerv5/1f2ad7e2d3ce1a215d74.dmp.js is heavily concerned, in other words we're getting closer (especially you, gorhill!) Mama mia, what a night :) |
I created a filter which appears to work -- it does not rely on the filename. See if this works fine on your side. |
I'm not at all aware of the way github is organized, of its methodology, so I landed on this rule which I believe is the correct one, and added it to my filters: I tested the rule with several embedded as well as home Dailymotion videos and have had NO in-video ads make their way. I hope I installed the correct rule, otherwise it would be luck! I think I did install the right rule because I notice a perhaps 1-2 second delay before the video start. Of course I hope the medicine will appear more as surgery than as plain pills. Can I ask you one last (presumably) thing? How does this rule function. Does it call a script here at github to afterwards inject it in the page? You know, besides what I manage to do with uBO because it has been elaborated to be easily handled by the users even non-techie, I understand 0+ of 99+ reality behind the scene! Thanks A MILLION, gorhill. Should I encounter an issue in this counter-strike that I'd pass the word here, of course. But seeing what you've achieved I'm more than reasonably confident. What a nice feeling, that of being no longer force-fed! |
For the rule to work, you need an up to date version of |
I noticed on my uBO '3rd-party filters' that an update for 'uBlock filters' was available, so I've updated. I'm learning, thanks for teaching! What I lack as well is the terminology, not only the procedures. |
Another site with Dailymotion embedded videos showing in-video ads: I hate to have to be the one bringing this information... gosh, what a pain. |
I can't see ads on this site. Using a French server through VPN, still no ads for whatever video I tried. What are your other settings? edit: I can confirm the site use the same exact technique as |
In-video ads are back on Dailymotion despite uBlock dedicated filters: On the site itself and of course on Dailymotion embedded videos. Thanks again for uBlockO whatever the issue with this damned Dailymotion site. Insane ad policy. |
I've tried many videos, and haven't been able to see an ad so far. Do you have a URL from where you consistently get an ad? |
Hi gorhill, I've just tested now, first available video on Dailymotion.com/fr and another, embedded: http://videos.leparisien.fr/video/chelsea-psg-paris-sauve-le-foot-francais-10-03-2016-x3wupw5 Both include the in-video ad as mentioned. It seems here to be no longer random as I get them systematically, anyway since last night when I went to have a look at Dailymotion to compare with my surprise to see again the ad on a dailymotion embedded video (leparisien.fr). I do hope this is not again the vicious random ad display issue because then attempting to find the solution would be double trouble. Thanks again for your concern. I seldom visit dailymotion.com, the most bothering are embedded videos as several French sites use dailymotion for their video delivery ... |
Thanks, I got an ad with this one. |
Not with the embedded one on leparisien.fr if I understand correctly. Odd, again & again. |
I found clearing the cookies for Daily Motion I systematically get the ad for the URL you provided -- not necessarily the case if I do not clear the cookies. |
OK- I use a Firefox add-on called 'Self-Destructing Cookies' which removes a site's cookies once the site closed unless this site is set as an exception for keep. But the cookie is not touched as long as the user is on the site, in which case the cookie is handled following the user's default policy for cookies. My cookie default policy is for session only (hence, all cookies for session only unless exception rule to keep or block). Now, Dailymotion here has no exception rule, hence its cookie is session-only -> Surprise: if I set an exception rule (keep) for dailymotion.com then ... the in-video ad doesn't reappear as you've experienced, same if I quit dailymotion since the cookie is 1- not removed, 2- is not a session cookie. Seems dailymotion wants not only a session cookie but a "long-term" cookie ... Looks, looked ok... until -- in this scheme -- I tested another video on dailymotion and had -- again -- an in-line ad: Now get to understand the morbid, cynical algorithm they have and i'll eat my hat (or beret). mama mia ... |
Could try the following filter by pasting it in your My filters pane in the dashboard?
Tell me if this helps. |
Just added the new filter, unsuccessful (old cookie scheme here, that is session cookie). Forgot to mention : liverail.com is system-wide blocked here in my HOSTS file ... EDIT, liverail.com blocked here with PeerBlock as well -> I've disabled HOSTS file via HostsManager application AND Peerblock for testing with new filter: still unsuccessful => liverail being blocked system-wide is not concerned0 |
Remove the filter I asked to test above, then update filter lists -- see if this fixes the issue. |
gorhill: you are a genius! For he's a jolly good fellow, for he's a jolly good fellow! Fantastic. I removed first testing new filter, updated filter lists, checked a video on dailymotion.com then an embedded one on leparisien.fr and ... NO IN-VIDEO ADS! (I'm not yelling, I'm happy!). Many many thanks, gorhill. I don't know how you do it, and do it so fast, but you sure do it :) Nice, nice, nice, thanks again! |
Just to thank you for your job. |
Hi, and first a huge thank for your work on this addon :) I got problem to read another dailymotion video here : I've purged and updated all my active lists and here is what i got in my dynamic filter tab (my personnal filters are empty) :
I can provide an export of my config if necessary. |
Purge one of uBO's filter list then force an update. See if this works. |
Latest uBlockO filters (uBlock filters in 3-rd party filters) fixes once again the continuously changing Dailymotion in-video ads' code. |
\o/ @gorhill thx a lot it works :) |
I am experiencing this same issue with the video ad at the start of the video on dailymotion. I am running v1.6.8 and happens both on chrome and firefox. I updated the lists but no effect. I am thinking that dailymotion found a way around your filter. |
URL? |
It's not always triggered, but I had the the Firefox debugger running and found it loads for example this advertising video before it plays the actual video: |
I am able to reproduce, using a VPN to FR. Will investigate. |
Clearing cookies for the site before forcing a page reload made the ad appears reliably on my side. |
This is not really the place to expose a quest for a rule but since all ads are handled here and now with my uBo rules and that I encounter one place which has recently made some changes to impose in-video ads, I'll assume my rudeness and pray for pardon (wow!):
Dailymotion.com now carries on in-video ads which appear randomly here. I've tried everything I could, was aware of, nothing does it. My uBo settings are "extreme" : blocks by default 3-rd party / 3-rd party scripts / 3-rd party frames. Authorized the minimum to allow site & video correct dsplays.
I'm not only bothered with these intrusive in-video ads but also puzzled.
Forgot to mention that these video ads appear with a counter (top-right) and that if I click on the ad-video (so as to halt it) it opens a new tab, blank here since the new tab's content must have been blocked by uBo.
Sorry again and thanks (a lot) if anyone can find the correct rule to stop this intruder :)
I won't make it a habit, first & last time, promised!
The text was updated successfully, but these errors were encountered: