I Try To Add A New Button To Firefox, But It's The Old Button That Gets Added!
Once, I tried adding a button with 'bookmark-item pagerank' as class to PersonalToolbar. Now, the code... function createToolbarButton() { const XUL_NS = 'http://www.mozilla.or
Solution 1:
Now, it works! In the Javascript Shell, typing a function with the same name as an other function in button.js and hiting enter, even if they have different behaviors, will call the function in button.js
By the way, to use the Javascript Shell the way I used, you have to install Extension Developer's Extension, then go Firefox -> Tools -> ExtensionDeveloper -> Javascript Shell -> enumerateWindows() -> chrome://browser/content/browser.xul
Post a Comment for "I Try To Add A New Button To Firefox, But It's The Old Button That Gets Added!"