Post Reply 
Kill Nosey Javascripts (improved)
Apr. 28, 2013, 07:02 PM (This post was last modified: Apr. 28, 2013 07:09 PM by Belarathon.)
Post: #1
Kill Nosey Javascripts (improved)
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 -->"
Add Thank You Quote this message in a reply
Apr. 28, 2013, 08:51 PM
Post: #2
RE: Kill Nosey Javascripts (improved)
(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...
Add Thank You Quote this message in a reply
Apr. 28, 2013, 10:03 PM (This post was last modified: Apr. 29, 2013 12:12 AM by JJoe.)
Post: #3
RE: Kill Nosey Javascripts (improved)
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
Add Thank You Quote this message in a reply
Apr. 29, 2013, 12:23 AM
Post: #4
RE: Kill Nosey Javascripts (improved)
(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
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to JJoe for this post:
Belarathon
Apr. 29, 2013, 01:25 PM
Post: #5
RE: Kill Nosey Javascripts (improved)
No website issues so far (not even live.mail), but I think I understand your point about tracking.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: