![]() |
|
Filter to hide ads panel on specific site - 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: Filter to hide ads panel on specific site (/showthread.php?tid=2032) Pages: 1 2 |
Filter to hide ads panel on specific site - fpout - Jul. 06, 2012 11:28 AM Hello, On pages like this one: http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-360499 I'd like to hide this div (ads): Code: <div id="b9bafBoursorama_Block53" class="block">In Firefox > Stylish addon , Code: #60eb8Ui_Instrument_Header44 {display:none;}So I tried this, but it doesn't work.: Code: Name = "Boursorama 12.07.06 [jp] (o.s)"What would be the correct syntax for that filter ? RE: Filter to hide ads panel on specific site - ProxRocks - Jul. 06, 2012 11:38 AM adding this to Exc-U should do the trick - Code: # boursoramaRE: Filter to hide ads panel on specific site - fpout - Jul. 06, 2012 12:38 PM Well, thank you for your reply. It doesn't seem to work for me. I added it at the end of the Exception-U entry already present, like this: Code: [^/]++.boursorama.com/ $SET(0=a_embed.) $SET(sAdKey=.block.)I have "www.boursorama.com/" in my Bypass-SSL list. Besides, a complication popped up : they change the div name every time I load a similar page or even load the same page into another tab. Only a part of the div name is common: b9bafBoursorama_Block53 ---> 28f5eBoursorama_Block53 ---> ad10aBoursorama_Block53 ... etc. This: "[^/]++.boursorama.com/ $SET(0=a_embed.)$SET(sAdKey=.Boursorama_Block53.)" doesn't work either. RE: Filter to hide ads panel on specific site - fpout - Jul. 06, 2012 12:58 PM Is there any way to use wildcards in div's names, like ... *Boursorama_Block53 ? ---- In Stylish, I can now get rid of the ad block this way, whatever name they give it: Code: div[class="block"] div[class="hd"],How can I put that in a Proxo filter ? RE: Filter to hide ads panel on specific site - ProxRocks - Jul. 06, 2012 01:04 PM for my above Exc-U entry, the "Manage: Specific Containers on sel. Sites 11.05.26 [sd] (d.0) " filter must be enabled, sorry about that... i wouldn't bother with a site-specific filter if a Exc-U entry can be used instead... RE: Filter to hide ads panel on specific site - fpout - Jul. 06, 2012 01:25 PM "Manage: Specific Containers on sel. Sites 11.05.26 [sd] (d.0)" is On, as are most filters in my config. But the ad block still shows up (with the entry added to Exc-U & reloaded config) unless I wipe it with Stylish ... Had to do the same in Opera with custom "user.css". In Chrome, I do not have a css filtering, so it continues showing up. Example: http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-828485 RE: Filter to hide ads panel on specific site - JJoe - Jul. 06, 2012 02:13 PM The Exceptions-U entry 'works' for me. Did you see a BlockList line for it in the Proxomitron's Log window? Regardless, it removes too much. Try Code: [Patterns]BTW, I don't see any ads in that div. The set's "<a> Remove: Ad Links" is removing them. Quote:I have "www.boursorama.com/" in my Bypass-SSL list. I wonder if that should be "www.boursorama.com:". Do you see a BlockList line for it in the Proxomitron's Log window? HTH RE: Filter to hide ads panel on specific site - fpout - Jul. 06, 2012 03:09 PM Well, pages on this site are refreshing every second or so, so it's hard to catch the Logwindow's content ! "<a> Remove: Ad Links" is also on and the the ad panel showing. The ads inside the "<div id="XXXXXBoursorama_Block53" class="block">" div are alike this: Code: <td align="center">The filter seems to be hit (in test window), but « style="display:none" » doesn't do its job. Doesn't work either when manually added in the div through Firebug. Edit: For example page http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-828485 , see ads on attached image. Edit by JJoe: Fixed link by adding space RE: Filter to hide ads panel on specific site - JJoe - Jul. 06, 2012 06:06 PM Try removing "www.boursorama.com/" from your Bypass-SSL list. After adding "www.boursorama.com/" to my Bypass-SSL to my Bypass-SSL list: Open the Proxomitron's Log window. Right click on the window, enable "HTML Debug info". Load http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-828485 . Browser window shows no filtering. Proxomitron's Log Window shows "BlockList 16226: in Bypass-SSL, line 18". My line 18 is www.boursorama.com/ . ![]() Remove, comment out, or modify line 18 to "www.boursorama.com:" . Reload http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-828485 . Browser window shows filtering. Disable "HTML Debug info" in the Proxomitron's Log Window. Reload http://www.boursorama.com/bourse/opcvm/opcvm.phtml?symbole=MP-828485 . Browser window shows ads gone. HTH Edit: Added "Try removing" and "After adding" lines. RE: Filter to hide ads panel on specific site - fpout - Jul. 09, 2012 07:27 PM Hi, thanks for the steps above. I did all of them, but ads are NOT filtered out in my browser after commenting out "boursorama" entries in my Bypass-List. Neither "<a> Remove: Ad Links" nor "Manage: Specific Containers on sel. Sites 11.05.26 [sd] (d.0) " are hit in the debug window, though they are ON. But ads are filtered out when using the oob default.cfg file when "boursorama" is commented out in the bypass-list, and visible when "boursorama" bypass is active, just as you said above. It seems to me all needed filters are on in my config too, so I don't understand why the oob default filters ads while mine doesn't ? I attach my default.cfg file to this post. RE: Filter to hide ads panel on specific site - ProxRocks - Jul. 09, 2012 09:16 PM disable "! * 2 Scan User List - Append to Keywords 06.11.04 [sd jd] (d.0) (Out)" and see if that makes a difference... RE: Filter to hide ads panel on specific site - JJoe - Jul. 10, 2012 01:10 AM What happens after you uncheck - Don't target Image HREFs 10.10.16 (fail) [sd] (o.1) ? HTH RE: Filter to hide ads panel on specific site - fpout - Jul. 10, 2012 08:37 AM Hi, 1- "! * 2 Scan User List - Append to Keywords 06.11.04 [sd jd] (d.0) (Out)" ... ads still there 2- "Don't target Image HREFs 10.10.16 (fail) [sd] (o.1)" ... ads are replaced by red text for each = "Link: AdHr ads" (4 at all) ---- If "www.boursorama.com/" is NOT in the Bypass-SSL list, then flash graphs in the "Graphique" panel in the middle-right, do not appear. Code: <div class="block g38">RE: Filter to hide ads panel on specific site - JJoe - Jul. 10, 2012 12:58 PM (Jul. 10, 2012 08:37 AM)fpout Wrote: 2- "Don't target Image HREFs 10.10.16 (fail) [sd] (o.1)" ... ads are replaced by red text for each = "Link: AdHr ads" (4 at all) To hide "red text" disable "Display Kills 06.08.01 (fail) [sd] (o.0)" (Jul. 10, 2012 08:37 AM)fpout Wrote: If "www.boursorama.com/" is NOT in the Bypass-SSL list, then flash graphs in the "Graphique" panel in the middle-right, do not appear. Disable "User-Agent: z Force MSIE on Fox/Opera 10.10.25 [jp] (d.0) (Out)" and click flash toggles (or add exceptions to remove toggles) to display. HTH RE: Filter to hide ads panel on specific site - fpout - Jul. 10, 2012 05:22 PM Thanks for the help. Being unable to load Flash graphs actually comes from User-Agent string containing "MSIE". Removing it makes them appear ! I found this U-A string to be one of the most common and replaced my old one with it: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1" Panopticlic ( http://panopticlick.eff.org/index.php?action=log ) shows it to be not too rare. Now, Ads are hidden, swf graphs shown, my user-agent is spoofed, and http://www.boursorama.com is commented out of BypassSSL. Incidentally, an issue with Java version of graphs, opening by default with 1-minute horizontal step instead of 1-day, has spontaneously disappeared. Java graphs now open normally at a scale of 1-day step. Everything seems right for that site's stocks pages. Thanks. |