Note that there are some explanatory texts on larger screens.

plurals
  1. POCreate Firefox Addon to Watch and modify XHR requests & reponses
    text
    copied!<p>Update: I guess the subject gave a wrong notion that I'm looking for an existing addon. This is a custom problem and I do NOT want an existing solution.<br> I wish to WRITE (or more appropriately, modify and existing) Addon. </p> <p>Here's my requirement: </p> <ul> <li>I want my addon to work for a particular site only</li> <li>The data on the pages are encoded using a 2 way hash </li> <li>A good deal of info is loaded by XHR requests, and sometimes displayed in animated bubbles etc. </li> <li><p>The current version of my addon parses the page via XPath expressions, decodes the data, and replaces them </p></li> <li><p>The issue comes in with those bubblified boxes that are displayed on mouse-over event </p></li> <li>Thus, I realized that it might be a good idea to create an XHR bridge that could listen to all the data and decode/encode on the fly </li> <li>After a couple of searches, I came across nsITraceableInterface[1][2][3] </li> </ul> <p>Just wanted to know if I am on the correct path. If "yes", then kindly provide any extra pointers and suggestions that may be appropriate; and if "No", then.. well, please help with correct pointers :) </p> <p>Thanks,<br> Bipin. </p> <p>[1]. <a href="https://developer.mozilla.org/en/NsITraceableChannel" rel="nofollow noreferrer">https://developer.mozilla.org/en/NsITraceableChannel</a><br> [2]. <a href="http://www.softwareishard.com/blog/firebug/nsitraceablechannel-intercept-http-traffic/" rel="nofollow noreferrer">http://www.softwareishard.com/blog/firebug/nsitraceablechannel-intercept-http-traffic/</a><br> [3]. <a href="http://www.ashita.org/howto-xhr-listening-by-a-firefox-addon/" rel="nofollow noreferrer">http://www.ashita.org/howto-xhr-listening-by-a-firefox-addon/</a> </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload