Hi,
On the "Advanced-External Filters" tab, I see a button for adding a new filter. When I press it, it prompts me for an executable file. I'm a C++ developer, so this immediately intrigued me. What are the requirements for writing a supported executable file? I've searched the forum, but I cannot find any info on this at all.
What I'm hoping to accomplish by this is to disable Google's scripts on their front page only. I really don't like their fade-in menu thing and would like to disable it completely. Disabling all scripts for Google site-wide accomplishes this, but it also cripples many aspects of their site. If I could write an add-in filter that allowed me to do this, that would be great.
Thanks,
Brian
External Filters
-
- Posts: 3
- Joined: Wed May 12, 2010 5:42 pm
External Filters
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
-
- Posts: 3
- Joined: Wed May 12, 2010 5:42 pm
Re: External Filters
I did some digging and discovered the Greasemonkey plugin. Using it and a user script to disable the Google's fade-in effect solved that part of my problem. I am still interested in learning about the external filters, though.BrianDavis wrote:What I'm hoping to accomplish by this is to disable Google's scripts on their front page only. I really don't like their fade-in menu thing and would like to disable it completely. Disabling all scripts for Google site-wide accomplishes this, but it also cripples many aspects of their site. If I could write an add-in filter that allowed me to do this, that would be great.
Thanks,
Brian
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: External Filters
You may want to check alsoBrianDavis wrote: I did some digging and discovered the Greasemonkey plugin. Using it and a user script to disable the Google's fade-in effect solved that part of my problem.
http://hackademix.net/2009/01/25/surrog ... analytics/
and
http://hackademix.net/2010/01/06/noscri ... op-unders/
External Filters are a generalization of the work I made to allow Blitzablaiter integration within NoScript, as requested by Blitzablaiter developers (a beta will be demonstrated at BlackHat Las Vegas this summer).BrianDavis wrote: I am still interested in learning about the external filters, though.
In short, external executables can be choosen to pre-process plugin content (such as Flash, Silverlight or Java files).
The executable must accept two command line arguments:
Code: Select all
filter.exe <input_file> <output_file>
It will be invoked asynchronously (not blocking the page load) and <output_file> will replace the original content (a 0 bytes content will be used if the filter reports failure, instead).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
-
- Posts: 3
- Joined: Wed May 12, 2010 5:42 pm
Re: External Filters
I appreciate the information on how to further customize NoScript. The external filters sound cool, too. I'll have to check them out.
Brian
Brian
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
Re: External Filters
What if you have
activated and a plugin is registering itself for let's say PNGs (wasn't QuickTime doing that?), will the lightning rod executable be also triggered for content of this type?plugin.override_internal_types
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100526 Firefox/3.7
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: External Filters
Almost certainly yes. Of course the filter's definition must have a matching content type attribute.dhouwn wrote:What if you haveactivated and a plugin is registering itself for let's say PNGs (wasn't QuickTime doing that?), will the lightning rod executable be also triggered for content of this type?plugin.override_internal_types
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3