The Un-Official Proxomitron Forum
How to block these gif adverts - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43)
+--- Forum: Sidki (/forumdisplay.php?fid=44)
+--- Thread: How to block these gif adverts (/showthread.php?tid=1848)



How to block these gif adverts - scoop - Nov. 04, 2011 04:29 PM

Hi

I decided to have a clean up of Proxomitron, fresh install and a few tweaks, however now I get a couple of ads flashing away that I never used to before. Most are .gif ads
[Image: Capture1111.JPG]

http://www.nufc.com/ has two ads one for flybe and one match day travel 53p !!! They never used to animate but do now.

Also a lot of sites now have this awful "Facebook social plugin" which I cant seem to stop from loading on lots of sites I visit for instance http://uk.msn.com/ has one [Image: Capturesss.JPG]

Oh and on a side note JJoe if it helps, IE9 still dont work properly with default filters that come with proxo when you first install or a fresh install of the sidkis.


RE: How to block these gif adverts - JJoe - Nov. 04, 2011 06:52 PM

(Nov. 04, 2011 04:29 PM)scoop Wrote:  http://www.nufc.com/ has two ads one for flybe and one match day travel 53p !!!

Try adding

Code:
www.nufc.com/2011-12images/Network_One.gif $RDIR(http://local.ptron/killed.gif)
www.nufc.com/images/2010-11images/flybe-2.gif $RDIR(http://local.ptron/killed.gif)

to Exceptions-U

We shouldn't add these to a published set, however. You have to see them to know that they are unwanted. The internet has millions of these.

(Nov. 04, 2011 04:29 PM)scoop Wrote:  They never used to animate but do now.

You probably had Proxo's "Freeze GIF animation" setting active before.

(Nov. 04, 2011 04:29 PM)scoop Wrote:  Also a lot of sites now have this awful "Facebook social plugin" which I cant seem to stop from loading on lots of sites I visit for instance

The awful (I agree) "Facebook social plugin" is blocked by my set because I block facebook related addresses. I doubt that you (most?) want to do that. Wink

Code:
<div id="facebooklike" class="co1b1 co coa2 coc1 m3  en-gb1"><h2 class="h2 cf"><span>BECOME A FAN OF MSN ON FACEBOOK</span></h2><div class="br br1"><div class="fbact" xmlns:fb="http://www.facebook.com/2008/fbml"><!--<fb:like-box href="http://www.facebook.com/ukmsn" width="300" colorscheme="light" stream="false" header="false" border_color="white"></fb:like-box>--></div></div></div>

creates it. Since you would like to stop it everywhere,
try adding

Code:
facebooklike

to the bottom of AdKeys.ptxt. Still, it may not get them all.

(Nov. 04, 2011 04:29 PM)scoop Wrote:  Oh and on a side note JJoe if it helps, IE9 still dont work properly with default filters that come with proxo when you first install or a fresh install of the sidkis.

I know. I think IE9 may be... different.


RE: How to block these gif adverts - scoop - Nov. 04, 2011 08:28 PM

The Nufc stuff dont seem to work, I had the Freeze gifs enabled before so not sure what wrong. Its not a great pain its just I like to try and work things out, although not very good at it.!

The filter set i was using had exceptions etc etc added and added and added to over the years so thought it might need a clearing out. I vaugly remember posting for some help on Castlecops years ago about that nufc site but obviously cant check it nowShame


RE: How to block these gif adverts - scoop - Nov. 04, 2011 08:49 PM

Also JJoe if you dont mind me asking please could you explain in an "easy way" how you found the facebooklike code for AdKeys.ptxt. ?

If I could work out how to do it I may not pester you gurus as much!!


RE: How to block these gif adverts - JJoe - Nov. 04, 2011 09:04 PM

(Nov. 04, 2011 08:28 PM)scoop Wrote:  The Nufc stuff dont seem to work,

Assuming that we are receiving the same code, should work.

First, open the Proxomitron's log window, open a blank browser window, clear the browser's cache, and try to load just the image.

In the log window I see
Quote:New Message Log Window....
RedirectTo: http://local.ptron/killed.gif
BlockList 1541: in Exceptions-U, line 1111
GET 1541 : User Keywords: .
GET 1541 : Cache-Control killed: max-age=0
GET 1541 : Pragma no-cache stripped
BlockList 1541: in User-Agents, line 45

If it loads,
Right click on the image and find its address. Is it the same as mine?
Does the log window show a blocklist match?


RE: How to block these gif adverts - JJoe - Nov. 04, 2011 09:57 PM

(Nov. 04, 2011 08:49 PM)scoop Wrote:  Also JJoe if you dont mind me asking please could you explain in an "easy way" how you found the facebooklike code for AdKeys.ptxt. ?

In ChromePlus, Opera, or Firefox with firebug, I right click on the page, select "Inspect Element", and quickly see [attachment=693] .

Otherwise:

If the browser has a status bar, sidki's menu has a toggle for the DOM path and Topo view. After DOM path is enabled, the path for the element under the cursor may be displayed in the status bar. [attachment=694]

OR

I'd search the source or dbug for "Become" and work backwards for a useful attribute.

HTH