Mephiles / torntools_extension

A browser extension for Torn.com
GNU General Public License v3.0
106 stars 60 forks source link

Jail filter sometimes fails to load #732

Open DeKleineKobini opened 1 year ago

DeKleineKobini commented 1 year ago

Probably caused by the filter script not always loading in time.

image

Reported by Nightingale [2616736] in-game.

Bobogoobo commented 1 month ago

Have been having this issue a LOT more often in the last month or two. Firefox browser on different computers. The cause may be different though.

TypeError: api is undefined(api.js:339:18)(moz-extension://(snip)/scripts/global/functions/api.js) hasAPIData moz-extension://(snip)/scripts/global/functions/api.js:339 (anonymous) moz-extension://(snip)/scripts/global/functions/filters.js:20 inject resource://gre/modules/ExtensionContent.sys.mjs:573 AsyncFunctionNext self-hosted:799

(TornTools) FeatureManager - Failed to start "Jail Filter". addFilters@moz-extension://(snip)/scripts/features/jail-filter/ttJailFilter.js:59:13 (featureManager.js:44:12)(moz-extension://(snip)/scripts/global/featureManager.js) logError moz-extension://(snip)/scripts/global/featureManager.js:44 startFeature moz-extension://(snip)/scripts/global/featureManager.js:205