How to find the offset client position of an element using Javascript? (I assume the same code can be written in a BHO or Gecko/NPAPI).   The problem I am facing is a way to find out the offset client position of the element. The e.srcElement.offsetX...
We have an IE extension implemented as a Browser Helper Object (BHO). We have a utility function written in C++ that we add to the window object of the page so that other scripts in the page can use it to load local script files dynamically. In order...
I'm looking to write a JS library\toolkit like Kango. Kango allows one to write JS code which executes in all major browsers. Chrome and Firefox have a nice system which allows for long-running processes to run in a background page, while also ru...
My question is general I am not looking for solve a specific error (I have a bunch of them :-)  My BHO is functional, OnDocumentComplete called. In OnDocumentComplete I can execute window.execSrcipt("console.log('Hello');"); etc it wo...
I'm trying to create simple Internet Explorer 9 addon using .Net and BHO to load external js-file on page and execute it.  I created ieInstance_DownloadComplete (I also tried ieInstance_DocumentComplete, but things were worse) event handler:  Int...
once again, I'm struggling with porting a Firefox extension to Internet Explorer 7, 8 and 9.  My most recent problem is that the FF extension code makes heavy use of AJAX calls to "chrome://..." urls (it fetches .html files that way and t...
I'm trying to port an extension from Firefox to IE. All the extension's code is in JS (no C++ components), so I figured I would reuse the code and only trouble myself with the mozilla specific parts of it (which is no doubt a torture too, but...
I have following problem: I am writing an extension for internet explorer. In the process i am traversing the DOM and searching for certain keywords. These keywords shall be highlighted and a javascript funktion should be called when clicked. The tra...
I'm trying to port this little piece of code from a FF extension to IE (7, 8 and 9).   var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]         .getService(Components.interfaces.nsIWindowMediator); var gBrowser = wm....
I wonder if it is possible in JavaScript to prevent <script src="unwantedscript.js" type="text/javascript"></script> object from running?  I need to make it like it never existed. Is there an event where I can prevent from...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.