The Un-Official Proxomitron Forum
Dbug in Firefox - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Proxomitron Program (/forumdisplay.php?fid=4)
+--- Thread: Dbug in Firefox (/showthread.php?tid=105)



- WMP - Jun. 07, 2004 10:25 PM

Does anyone know how to add the dbug command to the right click context menu in Firefox, or how to make a dbug bookmarklet?


- ProxRocks - Jun. 07, 2004 11:19 PM

Is this it?
Code:
function tkills() {
var spans=window.document.getElementsByTagName('span');

for(var i=0;i<spans.length;i++) {

    if(spans[i].className=='Prox') {

  if(spans[i].style.display!='inline') {
      spans[i].style.display='inline';
      }

  else {
      spans[i].style.display='none';
      }
  }
};

void(null);

}



- WMP - Jun. 08, 2004 03:12 AM

Not sure, where does that go?


- Siamesecat - Jun. 08, 2004 06:28 AM

Quote: Does anyone know how to add the dbug command to the right click context menu in Firefox, or how to make a dbug bookmarklet?
Someone gave me a filter that adds a debug link to a page. It works well. Normally you see the link near the end of the page.
Code:
[Patterns]
Name = "Debug"
Active = TRUE
Multi = TRUE
URL = "(^$IHDR(Content-Type: (*xml*)))"
Limit = 20
Match = "</BODY>"
Replace = "<p><br><br> "<a href="http://dbug..\h\p">DEBUG</a>"</p></BODY> $STOP()"
Note that you can put a URL command prefix in front of "dbug".


- WMP - Jun. 08, 2004 11:01 PM

Thanks Siamesecat, that works. I was hoping to add something to the right click context menu, but this will work for now.


- WMP - Jun. 09, 2004 04:26 AM

I finally found the bookmarklet. It is:
Code:
javascript:void(location.href="http://dbug.."+location.href.substr(7));