Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

Commit

Permalink
Fix bookmarks items cannot be opened in recent Nightly, #50
Browse files Browse the repository at this point in the history
* `TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them tulib.js line 105 > eval:2:5`
* This seems to be due to the https://bugzilla.mozilla.org/show_bug.cgi?id=1175394
  • Loading branch information
yfdyh000 committed Sep 11, 2015
1 parent 8e5fc8c commit 684571c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome/content/utilityOverlay.js
Expand Up @@ -131,7 +131,7 @@
//侧边栏书签
TU_hookCode("TU_openNodeWithEvent", /_openNodeIn\((.*)\)/, function(s, s1) s.replace(s1, (s1 = s1.split(","), s1.push("aEvent || {}"), s1.join())));
TU_hookCode("TU__openNodeIn",
["{", "var aEvent = arguments[arguments.callee.length];"],
["{", "var aEvent = arguments[arguments.length - 1];"],
['aWhere == "current"', '(aEvent ? !aEvent.button && !aEvent.ctrlKey && !aEvent.altKey && !aEvent.shiftKey && !aEvent.metaKey : $&)']
);

Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Expand Up @@ -4,7 +4,7 @@
<em:id>tabutilsfixed@addon.cn</em:id>
<em:type>2</em:type>
<em:name>Tab Utilities Fixed</em:name>
<em:version>1.5.2015.09.11</em:version>
<em:version>1.5.2015.09.12</em:version>
<em:creator>YFdyh000</em:creator>
<em:contributor>ithinc (Former author)</em:contributor>
<em:contributor>Phil Tsarik</em:contributor>
Expand Down

0 comments on commit 684571c

Please sign in to comment.