diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3805bde2..05efb16c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -11,8 +11,9 @@ Improvements: Bugfixes: * Fix remote messages failing under Firefox (thanks to Tulsow for reporting) + * Fix duplicate "Options" and "Request support for site" menu items for userscript (thanks to fireattack for reporting) -Special madman06, nimbuz, Broly, Tulsow, jonestly for their contributions and reports for this release +Special madman06, nimbuz, Broly, Tulsow, jonestly, fireattack for their contributions and reports for this release --- diff --git a/src/userscript.ts b/src/userscript.ts index 0beda285..b631acaa 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -2065,7 +2065,7 @@ var $$IMU_EXPORT$$; open_in_tab = GM.openInTab; } - if (open_in_tab !== common_functions["nullfunc"]) { + if (false && open_in_tab !== common_functions["nullfunc"]) { register_menucommand("Options", get_options_page()); register_menucommand("Request support for this page", function() { if (is_in_iframe) diff --git a/userscript.user.js b/userscript.user.js index eaf596d0..9b4c6e27 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -1717,7 +1717,7 @@ var $$IMU_EXPORT$$; } else if (typeof (GM) !== "undefined" && typeof (GM.openInTab) !== "undefined") { open_in_tab = GM.openInTab; } - if (open_in_tab !== common_functions["nullfunc"]) { + if (false && open_in_tab !== common_functions["nullfunc"]) { register_menucommand("Options", get_options_page()); register_menucommand("Request support for this page", function() { if (is_in_iframe)