This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Open chrome://settings/passwords | |
// 2. Open chrome developer tools (using F12 or Ctrl+Shift+i) | |
// 3. Run the following code in the console tab | |
// 4. Copy output in a text file and save it somewhere safe! | |
function asyncForEach(array, done, iterator) { | |
var i = 0; | |
next(); | |
function next(err) { | |
if (err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change tabs with mousewheel | |
// Run into Browser Toolbox console | |
var onTabWheel = function(ev) { | |
if (ev.deltaMode == 1 /* DOM_DELTA_LINE */) { | |
var idx = gBrowser.tabContainer.getIndexOfItem(gBrowser.selectedTab); | |
if (ev.deltaY > 0) { | |
if (idx + 1 < gBrowser.tabs.length) { | |
gBrowser.selectTabAtIndex(idx + 1); | |
} |