Block or Hide CSS data url GIF image base 64

Everything about using Adblock Plus on Google Chrome
Post Reply
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Block or Hide CSS data url GIF image base 64

Post by greenmakr »

Hey, original post from: forum/viewtopic.php?t=19072

Code: Select all

<td width="100" align="center" style="padding-left:15px;"><input type="image" value="Ok" name="submit" class="g_mehet" src="data:image/gif;base64,R0lGODlhDwAPAJEAAAAAAP///////wAAACH5BAEAAAIALAAAAAAPAA8AAAINlI+py+0Po5y02otnAQA7"></td>
Suggested:

Code: Select all

example.com##IMG[src^="data:image/gif;"]
Only work in Firefox but NOT CHROME :cry:

Also tried blocking via 'style' set without luck, again Firefox didn't complain but CHROME doens't understand it for some reason.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

which is the page and what do you want to block / hide ?
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

that would definitely help, my bad
it's: n b a - s t r e a m [dot] c o m

Code: Select all

com##IMG[src^="data:image/gif;"]
is being wrapped with

Code: Select all

com##A[href^="data:text/html;"]
either or both are not working, I also tried with full data set string, it doesn't seem to do anything either -so odd.

Oh, rarely but if you thought you got it working stay active on that page for a couple of minutes and it will 're-appear' on you.


p.s this referring to 'can't be played' found at the bottom and both in page.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

test

Code: Select all

|http://*watch-now$image
||files.barcelonastream.com/*player$image
||elasticbeanstalk.com^
@@||s3.amazonaws.com/inject_ads/advertisement.js
##A[href*="MtagMonetizationB.com"]
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

so much to learn, where should I start?

Amazing! this does most of trick and also took care of the invisible page floater -thanks for that. Removing other images, learning something new.

Code: Select all

@@||s3.amazonaws.com/inject_ads/advertisement.js

There's a floater over the video, is there a universal way of hiding it? This does it for me but I have to look for the tagid every time.

Code: Select all

com###above-player
url: n b a -stream.com/live/nba-tv-live-stream/channel-1/

off topic: I notice recently there are growing number of sites would force your to disable adblock to continue/access the page or put blanket/floater over the content until ab is turned off. Is there any way to over come this? Even some sites limit the number of articles one can read perday -I found that private/incognito actually bypass this.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

for the overlay try

Code: Select all

||files.barcelonastream.com/media-resources/other/whitetrans1.png
or

Code: Select all

###above-player
about adblockers detection read:
forum/viewtopic.php?f=1&t=42628
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

mapx wrote:

Code: Select all

###above-player
I meant any overlay in general without knowing the tag-id before hand or will it defeats the purpose of css
mapx wrote: about adblockers detection read:
viewtopic.php?f=1&t=42628
Thanks
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

No, there is no general / unique modality to build (and thus removing) such elements.
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

Can't seem to block anything from this url: showsport - tv. com

a) floating ads on videos
b) the header the annoying sidepanel chatbox

Code: Select all

bro.adca.st###ads
com###header
com###right_content
already tried theses: forum/viewtopic.php?f=2&t=28553&p=11899 ... rt#p118997
any thoughts? Thanks in advance
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

To block the chat use

Code: Select all

||chatango.com^$domain=showsport-tv.com
You can't use any other hiding filter due to this filter from easylist (which whitelists any hiding filter)
@@||showsport-tv.com^$elemhide

You should report it at easylist forum eventually asking to replace it with
@@||showsport-tv.com^$generichide
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

mapx wrote: You can't use any other hiding filter due to this filter from easylist (which whitelists any hiding filter)
@@||showsport-tv.com^$elemhide
Ignorant question, what is the purpose of easylisting?

I found that in firefox, unticking

Code: Select all

@@||showsport-tv.com^$elemhide
will allow block/hide again -it won't allow adding custom list however. Chrome doesn't inherit such flexibility -BUT disable easylist all together and it works.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by mapx »

if you disable easylist ==> ABP is useless, nothing blocked, nothing hidden.
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

That makes sense, thanks

p.s. submitted the suggestion
greenmakr
Posts: 8
Joined: Tue Jun 07, 2016 8:01 pm

Re: Block or Hide CSS data url GIF image base 64

Post by greenmakr »

mapx wrote: You can't use any other hiding filter due to this filter from easylist (which whitelists any hiding filter)
@@||showsport-tv.com^$elemhide

You should report it at easylist forum eventually asking to replace it with
@@||showsport-tv.com^$generichide
They answered, sweet!
Post Reply