OldTwitter
OldTwitter copied to clipboard
Profile link color fails to sync and default link color only shows in settings page
The sync issue is related to CORS (settings:1 Access to fetch at 'https://dimden.dev/services/twitter_link_colors/v2/set' from origin 'https://twitter.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.) but I have no idea why the default link color doesn't persist.
What browser? Never had issue with CORS since im intercepting these headers
Ungoogled Chromium
I'll do some additional debugging on my end see if it's caused here, but I don't think that CORS would cause issues with the default color not persisting across pages
Default link color not persisting could only happen if you reload extension and change it after extension context was invalidated
i'm not doing that though
it does persist in the settings page but in other places i have to override the css variable myself
although the extension context is invalidating itself because of an error at scripts/helpers.js:845
there's also this error
Can you show full error
Try downloading and installing again, i pushed possible fix
only thing that seems to have got fixed is the color box for the profile link color no longer being black and actually being my profile link color from back in the day
I'm not sure about color not showing anywhere else but settings page bug, but CORS bug should be fixed in beta
ok the CORS bug is fixed but yeah the color not showing anywhere else still persists
This was fixed