The Proxomitron
Note: For some reason when copying from this it adds an extra newline character, after each 'Name =', 'Active =', etc. this should be removed before adding the filter to Proxomitron
For those of you who still don't have Proxomitron, get it here
My google dictionary
- Name =
- "Google Dict"
- Active =
- TRUE
- URL =
- "[^.]++www.google.*/(^search)"
- Limit =
- 256
- Match =
- "(</head>$NEST(<body\s,>))\1"
- Replace =
- "<script type="text/javascript"><!--\n\r"
"function clickEnter(myfield,e){var keycode;if(window.event)keycode=window.event.keyCode;else if(e)keycode=e.which;else return true;if(keycode==13){if(myfield.id=='google_define')location.href='http://www.google.dk/search?q=define:'+escape(myfield.value);else if(myfield.id=='dictionary_com')location.href='http://dictionary.reference.com/browse/'+escape(myfield.value);else if(myfield.id=='merriam_webster')location.href='http://m-w.com/dictionary/'+escape(myfield.value);else document.write(myfield.id);return false;}else return true;}"
"function tdisplay(showD,hideD){var sS;sS=document.getElementById(showD).style;if(sS.visibility=='visible'){sS.visibility='hidden';document.getElementById('GD').style.visibility='visible';}else{sS.visibility='visible';document.getElementById('GD').style.visibility='hidden';}document.getElementById(hideD).style.visibility='hidden';}"
" //--></script>"
"<style>.custom{visibility:hidden;}.d,.custom{top:1.5eM;}.d,.spanner,.custom{position:absolute;}</style>"
"\1"
"<font size="-1"><span class="spanner"><a href="javascript:tdisplay('DE','EN');">Deutsche werkzeuge</a>"
" ¦ <a href="javascript:tdisplay('EN','DE');">English Tools</a></span>"
"<div id="GD" class="d"><form>Google Define:<br /><input id="google_define" type="text" onKeyPress="return clickEnter(this,event);" /><input type="button" value="slå op" onClick="google_define=document.getElementById('google_define');location.href='http://www.google.dk/search?q=define:'+escape(google_define.value);" /></form></div>"
"<div id="DE" class="custom">"
"<form method="GET" action="http://dict.leo.org/ende">dict.leo.org<br /><input name="lp" value="ende" type="hidden" /><input type="hidden" name="lang" value="de" /><input type="hidden" name="searchLoc" value="0" /><input type="hidden" name="cmpType" value="relaxed" /><input type="hidden" name="sectHdr" value="on" /><input type="hidden" name="spellToler" value="on" /><input type="text" name="search" value="" size="18" maxlength="100" accesskey="q" /><input type="submit" value="slå op" style="width:40px;" /><input type="hidden" name="relink" value="on" /></label></form>"
"<form method="GET" action="http://translate.google.com/translate_t">Google Translator Tysk-Engelsk<br /><input type="hidden" name="hl" value="da" /><input type="hidden" name="langpair" value="de|en" /><input type="text" name="text" /><input type="submit" value="oversæt" /></form>"
"<form method="GET" action="http://translate.google.com/translate_t">Google Translator Engelsk-Tysk<br /><input type="hidden" name="hl" value="da" /><input type="hidden" name="langpair" value="en|de" /><input type="text" name="text" /><input type="submit" value="oversæt" /></form>"
"</div><div id="EN" class="custom">"
"<form method="GET" action="http://dictionary.cambridge.org/results.asp">English Dictionary:<br />Cambridge Advanced Learners Dictionary<br /><input type="text" name="searchword" /><input type="submit" value="slå op" /></form>"
"<form>English Dictionary: dictionary.com<br /><input type="text" id="dictionary_com" onKeyPress="return clickEnter(this,event);" /><input type="button" value="slå op" onClick="dictionary_com=document.getElementById('dictionary_com');location.href='http://dictionary.reference.com/browse/'+escape(dictionary_com.value);" /></form>"
"<form>English Dictionary: Merriam-Webster<br /><input type="text" id="merriam_webster" onKeyPress="return clickEnter(this,event);" /><input type="button" value="slå op" onClick="merriam_webster=document.getElementById('merriam_webster');location.href='http://m-w.com/dictionary/'+escape(merriam_webster.value);" /></form>"
"<form method="GET" action="http://www.britannica.com/search">Encyclopedia: britannica.com<br /><input type="hidden" name="ct" value="gen1" /><input type="hidden" name="start" value="1" /><input type="hidden" name="show" value="20" /><input type="text" name="query" /><input type="submit" value="slå op" /></form>"
"</div></font>"
Remove Google Adds from various pages
- Name =
- "Google ad remover"
- Active =
- TRUE
- Bounds =
- "$NEST(<script\s,</script>)"
- Limit =
- 1024
- Match =
- "*<!--*google_ad*//-->*"
- Replace =
- "<font color="red" face=arial size=1>\1[Google Gone]</font>"
Remove the sponsored links from Altavista Search Engine
- Name =
- "Altavista: Sponsored Links HiderClick"
- Active =
- TRUE
- URL =
- "(^$KEYCHK(^A))[^/]++altavista.*/"
- Limit =
- 10240
- Match =
- "$NEST(<div id="(spons)\1">,\#,</div>)|($NEST(<DIV class=xs style="PADDING-BOTTOM: 6px">,</DIV>))\2((\#<br class="smbr">)++ (<br class=lb|</|<table)\3 & *<a*>([a-z0-9]+)\1)"
- Replace =
- "$SET(name=\1)" "$SET(content=\2\@)" "$SET(end=\3)" "<a href="" onClick="" "if(document.getElementById('$GET(name)').style.visibility=='visible'){\n\r" " if(document.getElementById('$GET(name)').style.visibility='hidden')\n\r" " {this.innerHTML='+ [Sponsered Links]';}" "} else {\n\r" " if(document.getElementById('$GET(name)').style.visibility='visible')\n\r" " {this.innerHTML='– [Sponsored Links]';\r\n}" " document.getElementById('$GET(name)').style.left=event.x;\n\r" " if(document.body.scrollTop){" " document.getElementById('$GET(name)').style.top=event.y+document.body.scrollTop;\n\r}" " if(window.pageYOffset){" " document.getElementById('$GET(name)').style.top=event.y+window.pageYOffset;\n\r}" "} return false;">+ [Sponsored Links]</a>\n\r" "<div id="$GET(name)" style="padding: 10px;background-color:#CCC;position:absolute;visibility:hidden;">$GET(content)</div>$GET(end)"
Remove 3rd Party JavaScripts
This is a must have!!!
- Name =
- "Kill 3rd party JavaScript"
- Active =
- TRUE
- Bounds =
- "$NEST(<script\s,</script>)"
- Limit =
- 256
- Match =
- "* src=*http://((^\h|local.ptron)*)\1/*</script>"
- Replace =
- "<img alt="3rd party JavaScript removed from \1" width=43 height=42 src="http://local.ptron/noscript.gif" />"
Thanks to United-TI for providing this
webspace.