The Un-Official Proxomitron Forum
sidki's config set: 2005-06-09 - 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: sidki's config set: 2005-06-09 (/showthread.php?tid=358)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


- sidki3003 - Mar. 22, 2005 11:32 AM

Lovecraft Wrote:Thanks Sidky, It works.
The favicon is back  [rolleyes]
Cool!

Quote:PD: I do a little modification in <a>: URL Untangler&nbsp; &nbsp; 5.03.11 (multi) [gz sd] (d.2)
including the ed2k protocol in exclusion
Do you have an example page?

edit: Looks good. Smile! Still, this filter is a bit sensitive and i like to test changes on real pages.

sidki


- Lovecraft - Mar. 22, 2005 12:00 PM

Quote:Do you have an example page?

edit: Looks good. smile.gif Still, this filter is a bit sensitive and i like to test changes on real pages.

Of course.

Look at here:
ed2k example

The filter match the ed2k links that have a http://www.url.com inside the name.


- sidki3003 - Mar. 22, 2005 12:18 PM

Oh right! I recall a CC post about that problem, but i didn't find an example page.
Yes, that's the best way, i'll add it. Thanks!


- Lovecraft - Mar. 22, 2005 12:25 PM

Quote: Oh right! I recall a CC post about that problem, but i didn't find an example page.
Yes, that's the best way, i'll add it. Thanks!

Thanks but not my credit.
I read it in computercops' proxo forum.

Grypen is the man who do the fix


- sidki3003 - Mar. 27, 2005 11:16 AM

I realized that the "update function" is exhausted. It's spring and many sites like to appear in a shiny new dress. There are quite a few filters to adapt, and the MergeMe got rather large already.


So, until i get a new version ready, here is the rewritten Google ad filter. It turned out (over at prox-list) that people with US IPs can get huge ad blocks.

Code:
[Patterns]
Name = "Google: Remove Ad Links     5.03.22 [sd jd] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)(www.google.|216.239.|66.102.[#0:15].|64.233.1[#60:91].)"
Limit = 16384
Match = "<("
"("
"table[^>]++(width=[23][50]%$SET(1=width)|height=40$SET(1=height))"
"|!-- Strip Me -->$SET(1=strip)"
")"
"("
"*</table >(^ <table)"
"|(*&$SET(0= <!-- Strip Me -->))"
")"
")"
Replace = "\r\n<!-- PROX-S: Removed by Google Ad Links Filter (\1) -->\r\n\0"
"$SET(sSpec=$GET(sSpec)\1.)"

It removes ad blocks of unlimited size. It's a recursive filter, that cuts the block in 16k pieces and removes them. If anyone is still seeing ads with this, then please post back.


sidki


- sidki3003 - Mar. 27, 2005 03:07 PM

Oops, i forgot the possible case where the byte limit is reached just within the </table> tag. Here it is again:

Code:
[Patterns]
Name = "Google: Remove Ad Links     5.03.27 [sd jd] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)(www.google.|216.239.|66.102.[#0:15].|64.233.1[#60:91].)"
Limit = 32704
Match = "<("
"("
"table[^>]++(width=[23][50]%$SET(1=width)|height=40$SET(1=height))"
"|!-- Strip Me -->$SET(1=strip)"
")"
"("
"*</table >(^ <table)"
"|*(????????)\2(^?)$SET(0= <!-- Strip Me -->\2)"
")"
")"
Replace = "\r\n<!-- PROX-S: Removed by Google Ad Links Filter (\1) -->\r\n\0"
"$SET(sSpec=$GET(sSpec)\1.)"

sidki


- ProxRocks - Mar. 27, 2005 04:04 PM

Thanks man...


<sidenote>
Strip Me? Ooh, sounds kinky... Big Teeth (couldn't resist...)
</sidenote>


- sidki3003 - Mar. 27, 2005 09:56 PM

*lol* Not my creation tho.


- Melly - Apr. 01, 2005 08:12 PM

Hmm, should I use this setup instead of JD_Basic.cfg that I have right now? Sorry, I have a horrible memory of where I got it but I hope you know what I mean... hehehe. I basically need Proxomitron for ad blocking and whatnot, I don't know much about proxies and what the program can do. Would you suggest I use this or JD?


- sidki3003 - Apr. 01, 2005 10:49 PM

Hi Melly,

If you are new to Proxomitron, you're probably better off with JD's set - Basic or Extra. I mean his release version, not the alphas, because the core of the latter is based on my 2003-11-19 beta, thus giving you the same "add-keywords-to-IncludeExclude-list" trouble. Smile!

sidki


- sidki3003 - Apr. 02, 2005 10:15 AM

Got the new version ready - first post updated. Big Teeth


- Kye-U - Apr. 03, 2005 03:22 AM

Very nice work Sidki Eyes Closed Smile

Got it set up and it's working just fine!


- sidki3003 - Apr. 03, 2005 09:55 AM

Cool! Big Teeth

I wasn't too sure about that (70+ changed filters).

sidki


- Seikatsu - Apr. 11, 2005 05:27 AM

I finally found out that I do have a problem with New Scientist. Smile! The home page doesn't list any articles and this article redirects me to here which doesn't have any words. The redirection doesn't seem to have any text of the article but if I do a debug of the original url, I can see that the text is there. The included archive has screenshots and debug-mode html for examination.

And why does the "| styles" tag in your config open a new tab (using Firefox)? Is that the action that you wanted? Here is a page that has different styles. Would it be better if I just hover over the styles link and get to pick the style from a little floating box?

Oh yeah, I am using your new configuration and it works great. Nice job, must of been a big overhaul.


- sidki3003 - Apr. 12, 2005 09:46 AM

Seikatsu Wrote:I finally found out that I do have a problem with New Scientist. Smile! The home page doesn't list any articles and this article redirects me to here which doesn't have any words. The redirection doesn't seem to have any text of the article but if I do a debug of the original url, I can see that the text is there. The included archive has screenshots and debug-mode html for examination.
I came accross the same problem the other day. They send an invalid Content-Location header, so the redirecting filter needs to be bypassed. Add this line to IncludeExclude.ptxt, below "## don't follow Content-Location":
Code:
www.newscientist.com/    $SET(keyword=.a_cont_loc.)

Quote:And why does the "| styles" tag in your config open a new tab (using Firefox)? Is that the action that you wanted? Here is a page that has different styles.
For browsers that support sized windows (Firefox, IE) or MDI (Opera, Maxthon) you'll get a 'lil window upper left. However, there is a setting for Firefox to open *every* window in a new tab (no sized windows). The default is "always allow sized windows". I prefer a compromize, here is the respective section of my user.js:
Code:
// ===============================================
//  Tabbed Browsing Configuration
// ===============================================

// Reveal more tab/window options.  Defaults to "false".
user_pref("browser.tabs.showSingleWindowModePrefs", true);

// If you select "Force links that open new windows to open in: a new tab",
// Firefox diverts links with target="_blank".
user_pref("browser.link.open_newwindow", 3);

// It then also diverts all JavaScript window.open() calls, or only calls that
// don't specify window features (e.g. size and which toolbars are displayed).
// Most calls to window.open() specify the size of the window.
//
// Force New Windows Restrictions:
//    0: Default - Divert *all* new windows to current tab/window or new tab
//    1: Don't divert *any* windows spawned by JS
//    2: Don't divert JS windows that include size/placement/toolbar info
user_pref("browser.link.open_newwindow.restriction", 2);

Quote:Would it be better if I just hover over the styles link and get to pick the style from a little floating box?
Cool idea - and possible! You can write an entire HTML document into the flyover window. However, looking at my DOM knowledge, it would probably take me too long to get this done, if at all. But maybe someone else likes to do that.


sidki