Background image

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey

Background image

Postby Kevil » Wed Nov 22, 2017 9:41 am

How to block the background image at
Code: Select all
https://praha.idnes.cz/byvala-nemocnice-jilove-u-prahy-prodej-dhx-/praha-zpravy.aspx?c=A171108_133001_praha-zpravy_mav


html code:
Code: Select all
<script language="JavaScript">
New Ads.Standardflash({ "link": "https://praha.idnes.cz/nyBXIkfGhT9-_LQl-ti_kxOB2Ty9ytIHwcYhfyfg-m/rYwJcY506F6b7kVU6JdfzVAY4_8gwnmlE5oCjlgYLaSa_2V/oKUxtiqQV29JXlxlQ_-hiyegiJEIDFnm7Sa-NxihILjnr/NlS1,JCLmcohxBOsivCJszxvlCRjKeA530ptxvlEI/A9edFlA7jy_EjjToVzF0pSXKS9L9Yx8Hlx50Emv0X/l-14kv0Hqm_lLGTd7Hg/1bJ_UM/dEagP4Rw111,EZPA1Pb3tAny", "obrazek": "https://praha.idnes.cz/nyV9vZE6jzgsy0zn9JRdHV8yDcvfTnxp9f5SlPEnojC/xl0BMG9i.zvRT4yo0gg2joMl,63SGJw/5fA0d41,vTce7nFDRsGhcaioX8GZHPHTg0bKbmXFFSso-D-s6Qny ", "rozmery": [998,200], "transparentní": false}); Ads.Branding({ "link ": "https://praha.idnes.cz/nyBXIkfGhT9-_LQl-ti_kxOB2Ty9ytIH/wcYhfyfg-mrYwJcY506F6b7kVU6JdfzVA/Y4_8gwnmlE5oCjlgYLaSa_2V/oKUxtiqQV29JXlxlQ_-hiyegiJEIDFnm7Sa-NxihILjnr/NlS1,JCLmcohx80sivCJszxvlCR/jKeA530ptxvlEIA9edF1A7jy_Ejj/ToVzF0pSXKS9L9Yx8Hlx50Emv0Xl-14kv0Hqm_lLGTd7HgMbJ_U/MdEagP4Rw111,EZPA1Pb3tAny", "target": "_blank", "body": "https://praha.idnes.cz/nyFTpjZGgE23Vxeylkwsvvi0hqscjrXiI/Z3qqsmubshAn8Gzse2t4eza_g6y/Scdt4\.iUDG8-fZ-E4xaQSpylmTZXsusjFmrAxkbZDdrp/mLUTnycentrumpraha_black-friday_branding_2000x1200_cz--final--0A02021200.jpg", "double-board": true_, "fixni-main": false, "fixni-body": false });
</script>
Kevil
 
Posts: 33
Joined: Fri Oct 14, 2016 12:42 pm

Re: Background image

Postby mapx » Wed Nov 22, 2017 10:24 am

ABP is not able to manage the inline scripts for the moment. uBo (ublock origin) has already included filters for such crap.
User avatar
mapx
 
Posts: 20930
Joined: Thu Jan 06, 2011 3:01 pm

Re: Background image

Postby Kevil » Thu Nov 23, 2017 6:07 pm

Thank you for advice. I installed uBo but how to set it up to block this background image ?
Kevil
 
Posts: 33
Joined: Fri Oct 14, 2016 12:42 pm

Re: Background image

Postby mapx » Thu Nov 23, 2017 7:39 pm

Hmm. It seems they changed something, not working anymore. Stay tuned.
User avatar
mapx
 
Posts: 20930
Joined: Thu Jan 06, 2011 3:01 pm

Re: Background image

Postby Kevil » Tue Nov 28, 2017 3:15 am

Any idea how to block external script Ads.StandardFlash in the code above ? The Firefox should not call it.
Kevil
 
Posts: 33
Joined: Fri Oct 14, 2016 12:42 pm

Re: Background image

Postby mapx » Tue Nov 28, 2017 10:13 am

The code is very nasty, that piece is inside some script code with random names

in uBo you could try
Code: Select all
praha.idnes.cz##script:inject(noeval.js)


However you should continue at the czech list repository:
https://github.com/tomasko126/easylistc ... vak/issues
User avatar
mapx
 
Posts: 20930
Joined: Thu Jan 06, 2011 3:01 pm

Re: Background image

Postby Kevil » Sun Dec 10, 2017 1:19 pm

Solved by installing Add-ons for Firefox Stylish and adding a filter:
Code: Select all
body { background-image: none !important; }
Kevil
 
Posts: 33
Joined: Fri Oct 14, 2016 12:42 pm

Re: Background image

Postby Kevil » Sun Dec 10, 2017 11:37 pm

Better to use uBO:
Code: Select all
idnes.cz##html,body:style(background-image:none !important)
Kevil
 
Posts: 33
Joined: Fri Oct 14, 2016 12:42 pm


Return to Adblock Plus for Firefox support

Who is online

Users browsing this forum: Exabot [Bot] and 22 guests