Post Reply 
Proxo's "Recent URLs" -> Debug-ified...
Sep. 03, 2011, 01:58 PM (This post was last modified: Sep. 03, 2011 02:03 PM by ProxRocks.)
Post: #1
Proxo's "Recent URLs" -> Debug-ified...
this is a follow-up to a "filter" topic that is now being implemented NOT as a "filter", but as a browser plug-in instead...

advantage, NO SSL-certificate warning CRAP if i'm 'debugging' SSL web pages!...


what this plug-in does -
when you use your Proxo's "What the Proxomitron is thinking" page and browse over to the "Recent URLs", i do NOT want these to be merely "links", i want them to be DEBUG links...

so this plug-in does two things -
1) converts all SSL links to "half-SSL" links...
2) appends Proxo keyword/command for DEBUG and tells Proxo to grab a FRESH version instead of from the cache...



now, since plug-ins are different from browser to browser and i'm implementing this in GreenBrowser, and don't know how (nor care, but i digress, lol) to implement in other browsers, all i can really provide is the actual script and you'll have to take it from there -

Code:
<script language="JavaScript">

var link;
link = document.body.getElementsByTagName("a")

for (var i = 0; i < link.length; i++) {
    link[i].href = link[i].href.replace("https://", "http://https-px-.");
    link[i].href = link[i].href+'?prx-keyword=.i_fresh:2.?prx-command=dbug..';
}

</script>


personally, a GODSEND, i seldom use that "Recent URLs" page for ANYTHING other than DEBUGGING Smile!

ultimately, i'll edit so that .png, .gif, .bmp, et alia links are NOT "debug-ified", but that's another day (it took two days just to get this far, lol)...


edit: should point out that this is in conjunt with sidki's config, dependent upon it's Proxo keywords/commands...
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: