Skip to content
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

This address bild.de #821

Closed
spec1re opened this issue Oct 13, 2015 · 21 comments
Closed

This address bild.de #821

spec1re opened this issue Oct 13, 2015 · 21 comments

Comments

@spec1re
Copy link

spec1re commented Oct 13, 2015

Thanks! :)

@gorhill gorhill closed this as completed Oct 13, 2015
@ghost
Copy link

ghost commented Oct 13, 2015

I'm playing with the Inline script tag filtering (I love it.) since few hours and this filter works too:

bild.de##script:contains(ad_smart_site_id)

Nice try Bild!

@gorhill gorhill reopened this Oct 13, 2015
@gorhill
Copy link
Owner

gorhill commented Oct 13, 2015

Ok, I thought OP wanted me to add the filters above -- these were not uBlock Origin-specific so I closed the issue.

Trying the build.de site, I understand they redirect if they detect a blocker. I will add the proper inline script tag: bild.de##script:contains(/^\s*?de.bild.cmsKonfig/).

@gorhill
Copy link
Owner

gorhill commented Oct 13, 2015

Heh: http://www.pcworld.com/article/2992434/browsers/sorry-ad-blockers-german-news-site-bild-says-nein.html:

Effective Tuesday, anyone attempting to visit Bild.de with an active browser extension such as AdBlock Plus or uBlock origin, will be redirected to a landing page that says (in German), “With an Adblocker activated, you can no longer visit Bild.de.”

Tip: I advise to surf pcworld.com in medium mode, site is bloated with 3rd parties.

@gorhill
Copy link
Owner

gorhill commented Oct 13, 2015

Actually, this plain filter works as well:

||code.bildstatic.de/*/bild/built/konfig/js/packages/core.js$domain=www.bild.de,script

This means this will also work on Chromium.

gorhill added a commit that referenced this issue Oct 13, 2015
gorhill added a commit that referenced this issue Oct 13, 2015
Best is to use Firefox until Chromium supports `beforescriptexecute`.
@Algorithmus
Copy link

There's now an additional inline script that checks if core.js objects are loaded. It should probably be blocked as well. Looks something like this:

 (function(){
  var str = '<div style="height:1000px;position:fixed;width:100%;z-index:50000;background-color:#fff; top:20px; left:0;"> <div style="margin:48px auto;width:725px;border:1px solid #ccc;padding: 40px;text-align:center;"><h2 style="font-size:40px;line-height:50px;">Warum sehe ich BILD.de nicht?</h2> <span style="font-size:30px;line-height:40px;color:#454545;">Sie haben Javascript für ihren Browser deaktiviert.<br />Aktivieren Sie Javascript jetzt, um unsere Artikel wieder lesen zu können.</span> </div> </div>'; 
  if(!de || !de.bild || !de.bild.user || !de.bild.env || !de.bild.events) {
   document.querySelector('body').innerHTML = str;
  }
 })();

Not sure what exactly would be the best way to target it without blocking anything else, but I'm sure some form of bild.de##script:contains(...) should work. I'm not on a recent Firefox fork right now.

@gorhill
Copy link
Owner

gorhill commented Oct 15, 2015

There's now an additional inline script that checks if core.js objects are loaded

This was addressed earlier today in this commit.

@mom20xx
Copy link

mom20xx commented Oct 16, 2015

suggested solutions like

bild.de##script:contains(/^\s*de.bild.cmsKonfig/) 
bild.de##script:contains(Javascript)

are currently not working with ublock origin 1.2.1

for me only this is working with ublock origin 1.2.1

bild.de#@#.textAd
bild.de#@#.text_ads
bild.de#@#.text_ad
bild.de#@#.text-ads
bild.de#@#.text-ad-links
bild.de#@#.text-ad
bild.de#@#.pub_728x90
bild.de#@#.pub_300x250m
bild.de#@#.pub_300x250
bild.de###fullBanner
@@||smartadserver.com/diff/*/smartad.js$domain=bild.de
@@||sascdn.com^$domain=bild.de,script

edit: please ignore this. i had a caching problem. purging cache. restarting firefox and update ublock origin filters fixed it. your solution is working

@sluTTYusr
Copy link

None of the solutions suggested above are working with 1.2.1 anymore.

@gorhill
Copy link
Owner

gorhill commented Oct 17, 2015

@mom20xx

are currently not working with ublock origin 1.2.1

Works fine from here on Nightly & FF41. What browser was this? As said in the documentation, inline script tag filtering is not supported on Chromium-based browsers or older versions of Firefox (those not implementing beforescriptexecute support).

A workaround for Chromium-based browsers is to disable all inline script tags using:

||www.bild.de^$inline-script

This can also be done through dynamic filtering:

a

There is a side-effect however with such filter, it disables some functionality on the site.

@sluTTYusr
Copy link

Sorry, for me it still does not work.
Browser is Pale Moon Version: 25.7.3 (x64)

@gorhill
Copy link
Owner

gorhill commented Oct 19, 2015

Sorry, for me it still does not work.

As documented, older versions of Firefox (on which Pale Moon is based) do not support inline script tag filtering. However, wholesale inline script filtering works for Pale Moon, and I confirm this works around Bild's block. See my comment above for Chromium-based browsers, this will also work for Pale Moon.

Block wholesale inline scripts, then enter bild.de in address bar, it works.

@sluTTYusr
Copy link

You are right.
||www.bild.de^$inline-script works.
I have the Ghostery add on installed and set it to pause blocking. However, only after disabling the add on the bild.de website displays.

@Hrxn
Copy link

Hrxn commented Oct 22, 2015

You mean you have Ghostery and uBlock running at the same time?

@sluTTYusr
Copy link

Yes. Most of the time.

@Hrxn
Copy link

Hrxn commented Oct 22, 2015

But why? What are the possible benefits?

@sluTTYusr
Copy link

Sometimes more is better.
https://www.diffchecker.com/zapbh5b9

@gorhill
Copy link
Owner

gorhill commented Oct 22, 2015

https://www.diffchecker.com/zapbh5b9

The best use for that diff is to see what to block globally using dynamic filtering to get the same result as the other extensions. In this specific case:

  • amazon-adsystem.com
  • googletagservices.com
  • optimizely.com
  • sail-horizon.com
  • tiqcdn.com
  • truste.com

So six global dynamic rules on top of uBO's default settings and you are as well covered -- without the overhead of two extensions which almost completely overlap.

@seanrand
Copy link
Contributor

Just FYI, this is starting to get political.

News article In German: http://www.golem.de/news/adblocker-sperre-bild-de-mahnt-youtuber-wegen-erklaervideo-ab-1510-117011.html

Der Axel-Springer-Verlag verteidigt seine Werbeblockersperre auf den Seiten von Bild.de nun auch mit juristischen Mitteln. In einem Schreiben vom 20. Oktober 2015 mahnt die Kanzlei Lubberger Lehment im Auftrag der Bild GmbH einen Nutzer ab, der auf Youtube.com ein Video veröffentlichte, wie sich die Sperre mit Hilfe von Filterbefehlen in dem Werbeblocker Adblock Plus umgehen lässt. In dem Brief [...] verlangt die Kanzlei eine Unterlassungserklärung und die Zahlung von Anwaltskosten in Höhe von fast 1.800 Euro. Der Gegenstandwert wird mit 50.000 Euro angegeben. Der Verlag bestätigte Golem.de, gegen "alle" vorgehen zu wollen, die die Anti-Adblocker-Initiative "unlauter umgehen".

My rough translation:

The digital publishing house Axel Springer has now begun to defend its Adblock-block on Bild.de through judicatory means. In a letter from the 20th October 2015, the law office Lubberger Lehment issued a cease and desist order on behalf of Bild GmbH against a Youtube user who published a video explaining how to circumvent the block using Adblock filters and Adblock Plus. In the letter, the law office demands a declaration to cease and desist as well as the payment of lawyer's fees amounting to almost 1,800 Euros. The letter declares the amount in controversy as 50,000 Euros. The publisher confirmed to Golem.de that it intends to proceed against "anyone" who attempts to circumvent the Adblock-blocking campaign through unfair means.

Might be worth noting that Axel Springer et. al. filed suits against Germany-based Eyeo over Adblock Plus in the past[1] and their legal standing in this case seems to be shaky at best.

I couldn't find any articles on this in English, I'll check again in a few days as this news probably hasn't been picked up outside of Germany yet.

Might be time for someone to throw together a blocklist for all Axel Springer websites, similar to murdochblock.info.

Sorry for derailing this, wasn't sure if I should open a non/meta-issue for this but wanted to share.

[1] http://www.reuters.com/article/2015/09/29/axel-sprngr-adblock-idUSL5N11L11Q20150929

@gorhill
Copy link
Owner

gorhill commented Oct 22, 2015

a Youtube user who published a video explaining how to circumvent the block using Adblock filters and Adblock Plus

Any link to that Youtube video?

@seanrand
Copy link
Contributor

The video has been set to private before I had a chance to watch it. Haven't found any mirrors yet.
According to comments on the article, it's at https://www.youtube.com/watch?v=W7_iPbFXW7I
The user's channel is https://www.youtube.com/channel/UCz1NzK7ttY0EkEjCEhWspVw

@Hrxn
Copy link

Hrxn commented Oct 25, 2015

Just FYI, this is starting to get political.

I'd say this is starting to get interesting. Get your popcorn ready. ;-)

Any link to that Youtube video?

AFAIK, the video just showed how to use the instructions given in the EasyList Germany thread for bild.de.

Edit:

Looks like they had to clean up their own ABP forum

And things get even better: http://heise.de/-2854649

Axel Springer won an injunction given by the infamous LG Hamburg (court in Germany known for getting almost everything wrong 😏) against Eyeo (company behind Adblock Plus). Although this is not final, technically.

But I think the angle behind this decision is "interesting", Axel Springer argued that using a blocker against their site is a violation of the German copyright protection law, specifically the section outlawing the circumvention or disabling of copyright protection mechanisms integrated into software.

Here is said law: http://dejure.org/gesetze/UrhG/95a.html

The funny thing is, this has never been used in the context of websites or the web in general. That was definitely not the original intention or scope of that law.

Anyway, I think that bild.de ends up being a useful benchmark for blockers ;-)

@ghost ghost mentioned this issue Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants