- Edited
Steps to reproduce:
- Install Reddit Toolbox (either Firefox or Chrome version): https://old.reddit.com/r/toolbox/wiki/get
- Tell Orion to allow it to run on www.reddit.com and/or old.reddit.com (though this shouldn't be necessary).
- Extension crashes on page load. Extension console says this:
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'TBsettingsObject.tbsettings[storageShortLengthKey]')
initCacheTimeout (cache.js:77)
(anonymous function) (cache.js:116)
promiseReactionJob
Expected behavior:
Extension loads, toolbox menu shows up in the bottom left, stuff works.
Additionally, the browser shouldn't prompt me if the extension should be loaded on every website I visit. Its manifest asks for permissions to the Reddit website only.
Orion, OS version; hardware type:
Version 0.99.113-beta (WebKit 613.1.12), macOS 12.2.1 (21D62); MacBook Air (M1, 2020)
Additional thoughts:
Based on the error, I don't think the content_scripts
defined in the extension manifest are getting loaded. The script that sets up the tbsettings
object can be seen here:
Here's the extension's manifest:
The website permissions in the manifest are also ignored (as previously mentioned).