View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri Oct 24, 2003 Post subject: Adding adframe blocking support |
|
|
Hi !
Thanks for the great extension to block all kind of annoying ads first !
Then I would like to ask if it is possible to add adframe blocking support ?
Sometimes (with lycos eg http://membres.lycos.fr/sfam/forum/ and click any link) a frame dispalying google ads is shown on the right of the screen. Adblock can of course block the ads in it, also i think it can block the frame from being loaded, but still the <frameset width=xxx > is present, so that the space for the adframe is preserved...
Is there any way to implement a rewriting of the <frameset> tag if one or more frame from this frameset are removed, so the wasted space is converted in useful space ?
It would be very interesting !
Thanks a lot
Raf |
|
Back to top |
|
 |
rue Developer
Joined: 22 Oct 2003 Posts: 752
|
Posted: Sat Oct 25, 2003 Post subject: |
|
|
As you noted, Adblock does block frames. Adding this entry removed the ad-frame (Width included) from your example:
. Code: | http://ads.multimania.lycos.fr/ad/google/frame.php* | .
Since frames are pretty much a base-tag, it doesn't strike me as useful to put an option in the context-menu. But the "Adblock-able Items" list shows them -- just click the statusbar-element.
More importantly, the frame in your example was created by a script. I'm not sure where you determined a 'framewidth' attribute as responsible, but if the above filter doesn't work for you, try blocking the page scripts. You'll also find them listed in "Adblock-able Items". |
|
Back to top |
|
 |
Guest
|
Posted: Mon Oct 27, 2003 Post subject: |
|
|
Thanks for your answer rue, but it didn't solve the problem, maybe you thought this due to a weird handling of the php code and the adframe (lycos let the first php page without adframe, then after a link is clicked shows the bar, also sometimes, when you simply click refresh, the adframe disappear, more or less randomly) BUT ! i made you a test page in pure html :
http://membres.lycos.fr/rslinckx/adframe.htm
There you can test that blocking even the *ads* keyword, let a blank space at the right of the screen, in place of the adframe, i can figure out why !
The source code is pretty weird and i don't knwo that much about html and javascript..
Could you check it out ? |
|
Back to top |
|
 |
rue Developer
Joined: 22 Oct 2003 Posts: 752
|
Posted: Tue Oct 28, 2003 Post subject: |
|
|
Done.
.
The frameset "cols" property is now set per blocked frames and tracked for future modifications by scripts.
.
Just grab the updated XPI from the Dev-Builds page. |
|
Back to top |
|
 |
Guest
|
Posted: Tue Oct 28, 2003 Post subject: |
|
|
DAAAmn
You did it !!
How can I thank you for that !!
Keep up the good work ! |
|
Back to top |
|
 |
kikidonk Guest
|
Posted: Thu Nov 20, 2003 Post subject: |
|
|
Rue
I just installed the latest nightly build, 0.5 d2 build18
The problem you solved some weeks ago reapeared ...
Just check out the link I gave you last time..
Is this normal ?
Thanks ! |
|
Back to top |
|
 |
rue Developer
Joined: 22 Oct 2003 Posts: 752
|
Posted: Thu Nov 20, 2003 Post subject: |
|
|
kikidonk:
Adblock's FastCollapse feature was landed shortly after, and isn't compatible with the frameset-collapsation. FastCollapse bypasses the window-timeout that completely hides blocked elements, which means they still take up screen-space.
.
Disable FastCollapse, and the previous behaviour will return. |
|
Back to top |
|
 |
kikidonk Guest
|
Posted: Thu Nov 20, 2003 Post subject: |
|
|
Yes you're once again right !
But i just don't understand what is the fast collapse and what it does better than before ?
Thanks
kikidonk |
|
Back to top |
|
 |
rue Developer
Joined: 22 Oct 2003 Posts: 752
|
Posted: Thu Nov 20, 2003 Post subject: |
|
|
Here's the thread that led to it. |
|
Back to top |
|
 |
kikidonk Guest
|
Posted: Fri Nov 21, 2003 Post subject: |
|
|
Ok !
So it's just a sort of display time optimisation, but that don't work with all the options (such as frame ..)
Thanks ! |
|
Back to top |
|
 |
Marvin
Joined: 05 Feb 2007 Posts: 31
|
|
Back to top |
|
 |
|