cdrani/kdrama

redirection to kdrama site requires clicking browser action twice

Closed this issue · 1 comments

Currently clicking on the browser action redirects you to the reddit page, then the Generate Token page, but then back to the initial Access Denied page from the beginning. A second click resolves this and takes you straight to the fully accessible kdrama site page. It could be an issue that the second executeScript is called too early. Keep in mind that the extension redirects from page to page almost immediately, but the token generation might need slightly more time to finish before redirection. Adding such a case might fix this issue.

This issue only appears when testing in Incognito mode, otherwise it works just as expected.