Mouseless Browsing ( https://addons.mozilla.org/firefox/addon/879 ) で
リンクを開けなくなっていたのを修正 git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3929 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
d27dca44d0
commit
4ad0343d3f
@ -754,6 +754,11 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
if ('execute' in mouselessbrowsing.EventHandler) {
|
||||
eval('mouselessbrowsing.EventHandler.execute = '+
|
||||
mouselessbrowsing.EventHandler.execute.toSource().replace(
|
||||
'{',
|
||||
'{ var Prefs = mlb_common.Prefs;'+
|
||||
' var Utils = mlb_common.Utils;'+
|
||||
' var MlbUtils = mouselessbrowsing.MlbUtils;'
|
||||
).replace(
|
||||
/((?:var [^=]+ = )?Utils.openUrlInNewTab\()/g,
|
||||
'TreeStyleTabService.readyToOpenChildTab(); $1'
|
||||
)
|
||||
@ -762,6 +767,13 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
if ('openLinkInOtherLocationViaPostfixKey' in mouselessbrowsing.EventHandler) {
|
||||
eval('mouselessbrowsing.EventHandler.openLinkInOtherLocationViaPostfixKey = '+
|
||||
mouselessbrowsing.EventHandler.openLinkInOtherLocationViaPostfixKey.toSource().replace(
|
||||
'{',
|
||||
'{ var Prefs = mlb_common.Prefs;'+
|
||||
' var Utils = mlb_common.Utils;'+
|
||||
' var MlbUtils = mouselessbrowsing.MlbUtils;'+
|
||||
' var MlbCommon = mouselessbrowsing.MlbCommon;'+
|
||||
' var ShortcutManager = mlb_common.ShortcutManager;'
|
||||
).replace(
|
||||
'Utils.openUrlInNewTab(',
|
||||
'TreeStyleTabService.readyToOpenChildTab(); $&'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user