Skip to content

Instantly share code, notes, and snippets.

@satyr
Created January 29, 2009 03:26
Show Gist options
  • Select an option

  • Save satyr/54346 to your computer and use it in GitHub Desktop.

Select an option

Save satyr/54346 to your computer and use it in GitHub Desktop.
// ==UserScript== for userChrome.js 0.8 (+ subscriptoverlayloader.js)
// @name TMP_BLURL4BML
// @namespace http://d.hatena.ne.jp/murky-satyr
// @description Fixes TabMixPlus so that "javascript:"s work as intended.
// @include main
// @compatibility Firefox 3.0~3.1b3 + Tab Mix Plus 0.3.7.4pre.090107
// @version 09-04-14
// ==/UserScript==
if(Application.prefs.getValue('extensions.tabmix.opentabfor.urlbar', 0))
setTimeout(function(){
TMP_BrowserLoadURL = eval('0,'+ (TMP_BrowserLoadURL +'').replace(
/, newTabPref/, '$& && !/^javascript:/.test(theURI)'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment