Skip to content

Instantly share code, notes, and snippets.

@satyr
Created March 18, 2010 02:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save satyr/335977 to your computer and use it in GitHub Desktop.
if(!Utils._oUIB){
let U = Utils.__proto__;
U._oUIB = Utils.openUrlInBrowser;
U.openUrlInBrowser = function openUrlInBrowserForegroundPlease(){
U.prefs.set('browser.tabs.loadInBackground', false);
U._oUIB.apply(0, arguments);
U.prefs.set('browser.tabs.loadInBackground', true);
};
}
//function cmd_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment