kickscondor / fraidycat

Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
Other
1.75k stars 56 forks source link

Not working at all in Firefox #230

Open aereaux opened 2 years ago

aereaux commented 2 years ago

I have the firefox extension installed, and just recently it stopped working at all. Clicking the extension icon does nothing, and going to the fraidycat URL only ens up in a slightly different loading screen than the one that it starts on. If I try going to the extension debug page (although I know very little about debugging extensions), I get a bunch of errors:


Content Security Policy: Couldn’t parse invalid host 'wasm-eval'
STORAGE = webext background.js:139:75
Started up Fraidycat background script. (0.lvy9e685xpj) background.js:141:679
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. common.js:112
UnknownError: The operation failed for reasons unrelated to the database itself and not covered by any other error code. ExtensionStorageIDB.jsm:831
Uncaught (in promise) Error: An unexpected error occurred undefined
uncaught exception: null
The Components object is deprecated. It will soon be removed. regex.js:12:20
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. store.js:135
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setIcon.
    setTabIconActive moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:51
utils.js:51:12
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setBadgeText.
    safeSetBadgeText moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:57
utils.js:57:17
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setIcon.
    setTabIconActive moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:51
utils.js:51:12
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setBadgeText.
    safeSetBadgeText moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:57
utils.js:57:17
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setIcon.
    setTabIconActive moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:51
utils.js:51:12
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setBadgeText.
    safeSetBadgeText moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:57
utils.js:57:17
Error: Please use $(ref:runtime.getURL). interceptor.js:74
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. webrequest.js:112
Error: Please use $(ref:runtime.getURL). interceptor.js:74
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. webrequest.js:112
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setIcon.
    setTabIconActive moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:51
utils.js:51:12
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setBadgeText.
    safeSetBadgeText moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:57
utils.js:57:17
Unchecked lastError value: Error: sender.tab is undefined dnt.js:64
Unchecked lastError value: Error: sender.tab is undefined fingerprinting.js:342
Unchecked lastError value: Error: sender.tab is undefined collapser.js:45
    <anonymous> moz-extension://0ae5452f-ecb7-4d82-8edd-8a68d8bdcfed/js/contentscripts/collapser.js:45
Unchecked lastError value: Error: sender.tab is undefined socialwidgets.js:693
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 15 webrequest.js:112
XML Parsing Error: syntax error
Location: https://cdn-akamai.mookie1.com/.well-known/dnt-policy.txt
Line Number 1, Column 1: dnt-policy.txt:1:1
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setIcon.
    setTabIconActive moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:51
utils.js:51:12
Uncaught (in promise) Error: Type error for parameter details (Error processing tabId: Integer -1 is too small (must be at least 0)) for browserAction.setBadgeText.
    safeSetBadgeText moz-extension://3d5c80f9-e01c-4c8b-b172-9d5ac8887d89/js/utils.js:57
utils.js:57:17
​```

Let me know if I can provide any other debugging output.  Restarting firefox does not seem to have helped.  Now that I think about it though, this seems to have happened right after a hard reboot of my computer, so perhaps it's related to that?
kickscondor commented 2 years ago

This is probably a corrupted database - several users have reported this and I am moving Fraidycat 2 away from the extension as part of this.

To fix the issue, you're going to need to delete the moz-extension+++8c2cd559-f05c-4e82-9bbb-92f0734c8171^userContextId=<NUMBER> directory while the browser is shutdown. If you are on Windows, it would be in the C:\Users\<Username>\AppData\Roaming\Mozilla\Firefox\Profiles\<ID>.default-release\storage\default directory. If you're on a different operating system, look here: http://kb.mozillazine.org/Profile_folder_-_Firefox

aereaux commented 2 years ago

Thanks for the quick response. Will doing this lose all my follows, or are they stored elsewhere?

blipdrifter commented 2 years ago

Thanks for the quick response. Will doing this lose all my follows, or are they stored elsewhere?

If you have browser sync turned on in Firefox, then when you reinstall the extension it should start re-syncing your follows. If not, then I think they're all gone unless you have a backup on you...

aereaux commented 2 years ago

Thanks. I have a backup, but I might have added a couple follows since. I'll see if my firefox sync works.

aereaux commented 2 years ago

And actually, it doesn't look like I have a directory with that name. I see a bunch of moz-extension+++ directories, but none that have 8c2c after that. It looks like the extension might be 16540334-452c-4c6f-a9e0-ece9aea7018f instead? I do have that directory.

Edit: That did it, it's now working and it looks like I got all my feeds back through firefox sync. Thanks!