The Un-Official Proxomitron Forum

Full Version: Kill Nosey Javascripts (improved)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I hope this might be useful to someone:

I use the following site to see what sort of information my browser is leaking:

http://www.maxa-tools.com/cookie-privacy.php

I use Comodo Dragon on Windows 8, and I was spilling User Agent, OS, and all of the plugins my browser is using.

So I adopted the user agent string filter from the original Proxomitron filter set, so now I am reporting (Macintosh; Intel Mac OS X 10_8). But I was still leaking screen resolution and plugin info.

Then I copied and pasted in the original "Kill Nosey Javascripts" filter to the Web page filters section. That got rid of the plugin information being leaked, but was still revealing screen resolution.

Now I'll preface by saying I don't know a damned thing about writing Proxo filters, but I was able to glean from the web that "screenHeight" "screenWidth" are also used to determine screen resolution. I pasted those variables into the existing Kill Nosey filter, and it works! Now Maxa Tools only reports my fake OS, browser, and header. In addition, Maxa usually reports whether Javascript is enabled or disabled. With this filter, it can't even report whether JS is on or off!

OLD: [Patterns]
Name = "Kill Nosey JavaScripts"
Active = FALSE
Bounds = "$NEST(<script,</script>)"
Limit = 16000
Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
Replace = "<!-- Killed Nosey JavaScript -->"



NEW: [Patterns]
Name = "Kill Nosey JavaScripts"
Active = TRUE
Bounds = "$NEST(<script,</script>)"
Limit = 16000
Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth||screenHeight|screenWidth|external)|history.length)*"
Replace = "<!-- Killed Nosey JavaScript -->"
(Apr. 28, 2013 07:02 PM)Belarathon Wrote: [ -> ]NEW: [Patterns]
Name = "Kill Nosey JavaScripts"
Active = TRUE
Bounds = "$NEST(<script,</script>)"
Limit = 16000
Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth||screenHeight|screenWidth|external)|history.length)*"
Replace = "<!-- Killed Nosey JavaScript -->"

There are too many |, "pixelDepth||screenHeight".

This causes your match to be "*.*". Which matches lots of scripts...
This seems to work. Do you see any potential for trouble here? This stops the getting of resolution, yet Maxa now reports JS is enabled.


Match =[Patterns]
Name = "Kill Nosey JavaScripts"
Active = TRUE
Bounds = "$NEST(<script,</script>)"
Limit = 16000
Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|height|width|availWidth|availHeight|availTop|availLeft|external)|history.length)*"
Replace = "<!-- Killed Nosey JavaScript -->"

Edit by JJoe: Format filter
(Apr. 28, 2013 10:03 PM)Belarathon Wrote: [ -> ]Do you see any potential for trouble here? This stops the getting of resolution, yet Maxa now reports JS is enabled.

"Kill Nosey JavaScripts" did break sites. A significant part of my old Yahoo mail filters was protecting Yahoo from filters like "Kill Nosey JavaScripts".

As for tracking, not providing info may make you unique.

JJoe
No website issues so far (not even live.mail), but I think I understand your point about tracking.
Reference URL's