Proxomitron forum 2
May 18, 2013, 10:38:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: No Activity here!!! Go to http://prxbx.com/forums/index.php This forum is for reading
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 7
  Print  
Author Topic: Jor's configuration file  (Read 13846 times)
Arne
Forum Admin
Administrator
Hero Member
*****
Posts: 1361


View Profile WWW
« on: October 11, 2002, 01:50:21 PM »

Here is Jor's configuration file from the old forum. It is based on Opera and Mozilla.

Download here

Best wishes
Arne [Smiley]
Logged

Best wishes
Arne [Smiley]
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #1 on: October 22, 2002, 11:49:28 AM »

I just uploaded a newer version (Still tweaking it, but it's very usable ATM).

As before, it is mainly for use with Opera, but Gecko-based browsers such as Mozilla, K-Meleon, and Netscape 6 should also work with it. No word on IE, as I don't use it.

Brief list of changes:
-replaced <start> and <end> with <ProxMarkHdrTop> and <ProxMarkHdrBottom>.
-New and updated filters added
-New blocklist: Bypass_Web bypasses most web filters which break layout. SkipComments is still it's own list.
-New Blocklist: SkipJS bypasses the Javascript filters (can break navigation)
-Blocklist MIMEFix altered. It is now sorted by MIME Type, except for the HTML and XML entries
-Many filters have been rewritten to return valid XHTML, so pages may still be validatable. The only filter which still breaks some pages is the Link Toolbar.

My killed.html has been removed from the distribution, but I have included my prox.css and viewsrc.css

Filesize has been brought down to 66KB [Smiley]

Download it through this forum's File Library
« Last Edit: October 22, 2002, 11:58:12 AM by jor » Logged

 
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #2 on: November 05, 2002, 05:06:31 AM »

Newer version uploaded today. Get it at the file library.

Changes I remember:
-Brought $TYPE(htm) back everywhere (instead of the $IHDR method), since filtering XHTML never really worked anyway;
-Blocklists reordered some: many duplicate entries removed by simply calling lists within lists.

Only the config, blocklists, and JS files have been included, as well as my (highly customized!) prox.css and viewsrc.css.

This config has been tested with Opera/6.05, and K-Meleon 0.7. Since K-Meleon uses the Mozilla 1.2b core, all current Geckos should be able to use it (Mozilla, Phoenix, Netscape 7, etc.).

Filesize: 64,9 KB (66'517 bytes)
« Last Edit: November 05, 2002, 05:09:11 AM by jor » Logged

 
JD5000
Sr. Member
****
Posts: 355


View Profile WWW
« Reply #3 on: November 05, 2002, 05:40:43 AM »

Hiya Jor, [Smiley]

Why do ya use..

(^$LST(Bypass_Web)) & $TYPE(htm)

instead of..

$TYPE(htm)(^$LST(Bypass_Web))

Huh

~JD

----------
Infopros Joint :: Computer Related Links And Discussion
Logged

jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #4 on: November 05, 2002, 11:33:48 AM »

Well, functionality is the same, but I placed the Type check at the end of the URL string in nearly all cases since I've been trying to extend Prox's filtering to XHTML by changing this string, and my $IHDR string became more and more complex. Placing at the end made it easier for me to keep changing it.

I think you'll agree the number of brackets in this string becomes maddening: \\ $IHDR(Content-Type: (*(text/((((x|)ht)|x)ml)|(application/((xhtml\+|)xml))*)))(^$LST(Bypass_Web))

Writing it as (^$LST(Bypass_Web)) & $IHDR(Content-Type: (*(text/((((x|)ht)|x)ml)|(application/((xhtml\+|)xml))*))) instead makes for much easier editing.

When I converted all IHDR occurances back to $TYPE(htm), I just didn't bother to re-order.
Logged

 
JD5000
Sr. Member
****
Posts: 355


View Profile WWW
« Reply #5 on: November 05, 2002, 11:55:26 AM »

Ahh, OK. [Cheesy]

BTW, nice site. [-thu]

----------
Infopros Joint :: Computer Related Links And Discussion
Logged

jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #6 on: November 05, 2002, 12:40:47 PM »

JD- thanks [Smiley]

Definately a good example of having a killer layout, and no idea what to use as content *L*
Logged

 
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #7 on: November 05, 2002, 04:37:49 PM »

Updated!

Filtering of XHTML and other XML pages works now (included one header filter, and changed $TYPE(htm) to $IHDR(Content-Type: (*(html|xml)*)) everywhere)

Also fixed a possible crashing bug in my prox.css that may occur with certain Mozilla builds.

Filesize now 64,8 KB (66'359 bytes)
Logged

 
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #8 on: February 09, 2003, 05:54:35 PM »

New update: http://members.outpost10f.com/~jor/files/proxo.zip

changes are far too numerous for me to remember.

I use it with Opera 6 and 7, K-Meleon 0.7, and those few times IE gets out of the cage, it also uses it. I never have to disable it [Wink]
Logged

 
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #9 on: February 09, 2003, 08:33:42 PM »

Where have you seen the "Site-Enter:" & "Site-Exit:" headers?

----
Boundlessly expands the sky and nothing stops the white clouds from freely flying about.
Logged

 
hpguru
Hero Member
*****
Posts: 2271


View Profile WWW
« Reply #10 on: February 09, 2003, 08:43:11 PM »

LMAO! I just read your Fake Referrers.txt. [Cheesy][Cheesy]

----
Boundlessly expands the sky and nothing stops the white clouds from freely flying about.
Logged

 
Arne
Forum Admin
Administrator
Hero Member
*****
Posts: 1361


View Profile WWW
« Reply #11 on: February 09, 2003, 09:01:43 PM »

LOL but as far as I remember I banned that #7 from this site a year ago or something [Cheesy] I am not sure if it still in effect, but I remember my logs getting filled up with this one over and over and over again. I can tell you guys it was a pain in the *** [-ibe] It is very effective to drive webmasters crazy

Best wishes
Arne [Smiley]
Logged

Best wishes
Arne [Smiley]
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #12 on: February 09, 2003, 09:11:41 PM »

The Site-Enter and Site-Exit HTTP headers are for MSIE's 'Page Transitions' -- most people will only use them as META tags, but since any HTTP-EQUIV meta tag stands for an HTTP header, they could occur as such. I have tested it at my webspace, and MSIE does listen to them.

Now since I hate screen flashes more than just about anything, I have added the filter to my config, just in case I ever use IE (or the Mozillians add it).

As for the fake referrers list -- it is only called on a first visit to a page, with no back history, after that the URL is sent as a referrer [Smiley]

I don't feel it is any webmaster's business what link I followed to his site.
Logged

 
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #13 on: March 20, 2003, 04:48:22 PM »

New update!
http://members.outpost10f.com/~jor/files/proxo.zip (43.1KB)

Major change is I altered my 'insert' method: rather than using the method I used in earlier filters, I now use Scott R Lemmon's idea detailed here (post 2646), which does not require MULTI=TRUE.

Brief filter documentation:

HTTP Headers:
  • 'Cache-Control: Always cache (in)': Force caching even if a site does not allow you to.

  • 'Connection: Close all connections (In + Out)': Does what it says. Don't enable it normally.

  • 'Content-Type: ASX to HTML (in)': ASX files are just shortcut files. This will show you the actual link in your browser.

  • 'Content-Type: Filter XML (in)': Allows for XML and XHTML filtering.

  • 'Content-Type: Fix MIME types (In)': Fixes commonly malreported mime types.

  • 'Content-Type: Kill Trace': Stops a possible exploit.

  • 'Content-Type: RAM to HTML (in)': RAM files are just shortcut files. This will show you the actual link in your browser.

  • 'Cookie: Fool AdBuster sites (out)'

  • 'Cookie: Kill unwanted cookies (out)'

  • 'Cookie2: Kill unwanted cookies (out)'

  • 'Expires: Always cache (in)': Force caching even if a site does not allow you to.

  • 'Forwarded: (out)': Removes the forwarded header, if present.

  • 'From: (Out)': Alters the forwarded header, if present.

  • 'If-Modified-Since: Always reload pages (Out)': Force caching even if a site does not allow you to.

  • 'If-None-Match: Always reload pages (Out)': Force caching even if a site does not allow you to.

  • 'Location: Yahoo relocator (in)': Part of Mona's YG set.

  • 'P3P: Platform for Privacy Preferences (In)': I hate P3P.

  • 'Pragma: Always Cache/Don't Reload (Out + In)': Force caching even if a site does not allow you to.

  • 'Pragma: Block WiMP Client ID/GUID Reporting (Out)' (2 filters): Blocks a Windows Media Player privacy issue.

  • 'Referer: Fake referrer info (Out)': Sends the hostpart of the URL as referrer, instead of the real deal, during normal browsing.

  • 'Referer: IP Cookies 1 (out)': Edit this filter and enter your IP. This will prevent it from slipping out.

  • 'Referer: Randomize referrer info (Out)': A simple joke! On first visit to a site, this will send a funny referral instead.

  • 'Referer: Remove URL Commands and Prefix (out)': Removes (most?) of the Proxo URL commands.

  • 'Set-Cookie: Never accept unwanted cookies (In)'

  • 'Site-Enter & Site-Exit': MSIE only. See above in this thread.

  • 'URL: Alias Redirector (Out)': Allows you to use the Proxo jumplist.

  • 'URL: IP Cookies 2 (out)': Edit this filter and enter your IP. This will prevent it from slipping out.

  • 'URL: No proxy (Out)': Allows you to specify a list of sites which should bypass the external proxy.

  • 'URL: Un-Prefixer (Out)': Removes some URL prefixing.

  • 'URL-Killer: Kill script URL exploits': Stops scripts from being ran on your PC without your consent.

  • 'URL-Killer: kill-a-URL (out)': Kills ads.

  • 'User-Agent: Dumb Sites (MSIE 6)': UA spoofing, the only one I still use.

  • 'VIA: (out):': Removes the VIA header, if present.

  • 'X-Forwarded-For: (out):': Removes the VIA header, if present.


Web filters:
==================== START/END FILTERS -1
  • 'Force HTML transitional Doctype if missing': this filter will add the HTML 4.01 transitional doctype to pages if they lack one. This will ensure the doctype override for Opera 7 will function even on those pages, and may help with rendering problems in MSIE.

  • '<meta>: Add content-type if missing': this will add the most common content-type encoding declaration to a page if it lacks it. This allows you to validate the page even if you only have a local copy.

  • 'Insert Prox stylesheet': inserts the main Proxomitron styling, used by just about all filters. Edit prox.css to toggle kill display.

  • 'Insert Links stylesheet': this file contains link styling, and a few other cosmetic CSS changes, such as accesskey displayal. It is recommended you use this as your browser use CSS instead of inserting it with the Prox.

  • 'Print URL in page source': this adds a comment with the URL, and the time saved, in the page source. Handy if you want to know where you got the HTML from.

==================== SITE SPECIFIC
  • 'W3C CSS3 spec CSS fix': for some obscure reason the W3C's CSS3 specs use generated counters, but their implementation does not work well in Opera, the only browser which supports this part of CSS! This filter fixes it.

  • 'Microsoft: Fix CSS': Microsoft sites are designed to break in other browsers. This filter is designed to make them working again.

  • 'My.Opera.Com: Fix RSS CSS' The my.opera.com RSS parser looks ugly in Opera 7. This filter strips out the code which is to blame.

  • 'Sidepanels open in new window': This filter makes sure any page in the sidepanels blocklist opens in a new window, and not in the sidepanel itself. Handy for Mozillas and Operas.

  • 'Sidepanels: Automatic Refresh': Any page in the sidepanels blocklist will auto-refresh every ten minutes.

  • 'Sidepanels: Add [Refresh] Link': This adds a manual refresh link to all sidepanels

  • 'OperaShow for Fusker': This adds some simple CSS for the wget-like fusker service.

  • 'User Friendly: Enable Fast Forward': This makes the archives of the online comic UF usable with Opera 7's fast forward.

  • 'KeenSpot' (3 filters): this filterset cleans up Keenspot and -space sites.

  • 'Kill Google Adwords' (2 filters): Will remove persistent text ads from Google.

  • 'Yahoo Groups' (6 filters): Mona's wonderful YG set.

==================== ADS
  • 'Kill ad scripts' (3 filters): Will strip most advertisement scripts completely.

  • 'Kill ad tables': On pages listed in the Adtables blocklist, this filter will remove entire tables which only contain ads.

  • 'Kill ad iframes': Destroys advertisement iframes.

  • 'Kill ad links': Removes most links to ads.

  • 'Kill ad links': Removes any forms used for ads.

  • 'Kill ad images': Removes in-line ads. AKA almost all banners.

  • 'Kill comment block ads': Removes ads enclosed by comment blocks. This works with a blocklist, and a second blocklist where you can specify sites that must bypass this filter.

  • 'Kill remaining AdList references': This is a very aggressive filter! It removes any remaining tags which contain a reference to a URL matching the ad list.

==================== JAVASCRIPT
  • 'Tame Javascript' (2 filters): My take on Paul Rupe's 'Tame Javascript' filters.

  • 'Cloak UA in JS (Dumb Sites /MSIE 6)': The only UA spoof filter I still occasionally use. This helps me access the MSDN for example.

==================== PRIVACY
  • '<meta>: Kill Http-Equiv cookies': Removes any cookies that are specified with meta tags and are not allowed by the Allow Cookie list.

  • 'Kill P3P Tags': I dislike the P3P immensely.

  • 'Kill User Data Persistence in HTML Styles & Scripts': An MSIE-only filter. UDP is a severe privacy risk.

==================== IMAGES
  • 'IMG: Kill useless ALT attributes': Strips any alt attributes which give no alternative information, but are just spam.

  • 'IMG: Alt attribute to title': For use with Opera. This does the webmaster's job, in specifying tooltip info for images.

  • 'IMG: Longdesc to Link': Adds support for the longdesc attribute.

==================== EMBEDDED MEDIA
  • 'Embed or BGsound to Link': Disables background music on websites, and turns it into a hyperlink.

  • 'Convert Flash animations to links': Will turn any Flash film not in the AllowMedia blocklist into a link. Disabled by default.

==================== COSMETIC
  • 'Break up long paragraphs': This will break up overly long paragraphs, for better legibility.

  • 'Allow for frame resizing': Allows you to resize frames, even if the webmaster tries to prevent it.

  • 'Dim white backgrounds' (2 filters): Turns white backgrounds into a soft yellow.

  • 'Favicon Killer': removes shortcut icons (favicons) from the HTML. Disabled by default, as they don't bother me.

==================== LINKS
  • 'Image links: enable Fast Forward': Enables the 'Fast Forward' technology of Opera 7 in common image links.

  • 'Style mailto or ftp links': Helps you target these kind of links. See links.css

  • 'Style links to images': Helps you target these kind of links. See links.css

  • 'Add domain to title attribute': Links with a title, don't display their URL in the statusbar of Opera. This will add the domain to the title, so you know they go offsite.

  • 'onMouseOver to title attribute': This will turn an onmouseover statusbar writer into a title for the link instead.

  • 'Linked images to Inline (Not for normal use!)': Very aggressive filter! Will turn any image link into an inline image.

==================== HTML "FIXES"
  • 'Textareas: fix wrap': This will add sfot wrapping to all textareas that have no, or the wrong, wrapping attribute.

  • '<meta>: Prevent Page Transitions': MSIE only. See above in this thread.

  • 'Fix Flash embeds': This will fix broken flash embeds in Opera and Mozilla.

  • 'Forms: remove Onsubmit Return False': Some forms cannot be submitted in Opera. This filter fixes it.

  • 'Useful 404s': Most 404 pages are useless. This filter changes that!

  • 'Opera CSS Extensions Fix': Opera's CLink CSS extensions change per version. This will remap the old versions to the new ones. Only use with Opera.

  • 'Close stylesheet comments': Some pages open a comment in the inline stylesheet, but never close it. This filter is a fix.

  • 'Kill excessive white space from source': If you want to check the HTML, and find heaps of whitespace, enable this filter.

==================== START/END FILTERS -2
  • 'Create and remove insert point': Creates the insert point for the top filters, and removes it when done.


File description:
links.css: this is the file which controls link styling.
msfix.css: fixes the MS CSS issue.
prox.css: main Proxomitron CSS styles.
ViewSrc.css: my version of the Proxomitron source viewer. It emulates the log window look, and makes it clear what code is matched.
end.js & start.js: Tame Javascript files.
ua-ie6.js: UA spoofing for MSIE.
« Last Edit: March 21, 2003, 11:52:36 PM by jor » Logged

 
jor
Hero Member
*****
Posts: 1134


View Profile WWW
« Reply #14 on: March 20, 2003, 09:23:00 PM »

I've now also updated the file in the file library (thanks for the info and webspace Arne!),
Logged

 
Pages: [1] 2 3 ... 7
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!