Skip to content

Loading…

could not remove pcbeta's ads #789

Closed
renyouguo opened this Issue · 7 comments

2 participants

@renyouguo

http://bbs.pcbeta.com/
With easylistchina
google chrome 2015-02-14 22 53 29

@gorhill

Could not remove what?

@gorhill

Please, provide details. We can't read mind.

@renyouguo

sorry , I click wrong,I will add soon.

It is ok now.

@renyouguo renyouguo changed the title from could not remove to could not remove pcbeta's ads
@gorhill

Many challenges here: the class names are random strings. Still, normally this should work: bbs.pcbeta.com###wp .forum_top ~ div.

Except that I cannot find the style injected by uBlock. It appears the web page is removing the style tag added by uBlock (need to investigate further as time allow).

When using a generic though, ###wp .forum_top ~ div, it does work, so the page is not removing the style tag added after the page loads, only the one added before the page loads.

@gorhill gorhill removed the need feedback label
@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #789 65b9ef2
@gorhill gorhill closed this in 65b9ef2
@gorhill

I fixed the problem of having the site remove the style tag.

However, for the filter itself, users will have to figure it out using the dev console for when the site create random class, id or whatever else they do to make it difficult to create filters.

So anyways, with the fix, bbs.pcbeta.com###wp .forum_top ~ div works (until the site owner works around that specific filter).

@renyouguo

0.8.8.0
and
bbs.pcbeta.com###wp .forum_top ~ div
Works the same as ABP:the ads are white now.
Would you support to hide the white just as this css:
Remove ads for PCbeta - Themes and Skins for Pcbeta - userstyles.org
https://userstyles.org/styles/110389/remove-ads-for-pcbeta

@gorhill

Would you support to hide the white just as this css

No, that's really a job best left to Stylish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.