Skip to content

Commit 72c5ea9

Browse files
committed
update searchSelectionShortcut and
extensionStylesheetLoader to avoid error logs on latest version of fx-autoconfig.
1 parent 8ecb361 commit 72c5ea9

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

JS/extensionStylesheetLoader.uc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Extension Stylesheet Loader
3-
// @version 1.0.1
3+
// @version 1.0.2
44
// @author aminomancer
55
// @homepage https://github.com/aminomancer
66
// @description Allows users to share stylesheets for webextensions without needing to edit the
@@ -20,6 +20,7 @@
2020
// about:debugging#/runtime/this-firefox
2121
// @license This Source Code Form is subject to the terms of the Creative Commons Attribution-NonCommercial-ShareAlike International License, v. 4.0. If a copy of the CC BY-NC-SA 4.0 was not distributed with this file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
2222
// @include main
23+
// @startup extensionStylesheetLoader
2324
// @onlyonce
2425
// ==/UserScript==
2526

@@ -108,4 +109,8 @@ class ExtensionStylesheetLoader {
108109
}
109110
}
110111

112+
_ucUtils.sharedGlobal.extensionStylesheetLoader = {
113+
_startup: () => {},
114+
};
115+
111116
if (location.href === AppConstants.BROWSER_CHROME_URL) new ExtensionStylesheetLoader();

JS/searchSelectionShortcut.uc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Search Selection Keyboard Shortcut
3-
// @version 1.6.4
3+
// @version 1.6.5
44
// @author aminomancer
55
// @homepage https://github.com/aminomancer
66
// @description Adds a new keyboard shortcut (Ctrl+Shift+F) that searches your default search
@@ -50,6 +50,7 @@
5050
// its own little network of temp files to work in a more vanilla-style manner.
5151
// @license This Source Code Form is subject to the terms of the Creative Commons Attribution-NonCommercial-ShareAlike International License, v. 4.0. If a copy of the CC BY-NC-SA 4.0 was not distributed with this file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
5252
// @include main
53+
// @startup searchSelectionShortcut
5354
// @onlyonce
5455
// ==/UserScript==
5556

@@ -269,4 +270,8 @@ class SearchSelectionShortcut {
269270
}
270271
}
271272

273+
_ucUtils.sharedGlobal.searchSelectionShortcut = {
274+
_startup: () => {},
275+
};
276+
272277
if (location.href === AppConstants.BROWSER_CHROME_URL) new SearchSelectionShortcut();

0 commit comments

Comments
 (0)