Closed thunderysteak closed 7 years ago
chrome.storage.sync is the fix but that means I cant copy paste it like a dummy to firefox when im tired of chrome :(
also would require window messaging and/or moving everything from injected scripts to content scripts
wish I could add features straight to funnyjunk
Ask admin if it's possible to add a mod identifier (Hidden element in code) that could replace the token system and automatically detect that the extension user is a mod
He would need to give an api endpoint for fjmod to verify the username and mod status Was thinking of making a bot that works via PMs @_@
How about creating a bot that will verify an user as a mod and generate new token when requested? Something like old Garrysmod.org verification method before Steam's OAuth was a thing
This eliminates the need to fix this bug
Replace "bot" by "Felris" and you have the current setup :^ )
FunnyJunk OAuth would be nice imo
Can fix if I would change https://github.com/posttwo/fjmod-extension/blob/bb9c262330f8afd1075f002175f2b4f35b603665/src/inject/inject.js#L56 to chrome.storage.sync or whatever.
Anyway fjmodbot should be enough to take care of this for now
Access Token getting deleted from localstorage by either accidental user deletion, chrome itself or by other extensions Workaround needed