Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webstore button is greyed out after soft navigation #135

Open
NeverDecaf opened this issue Dec 2, 2023 · 0 comments
Open

Webstore button is greyed out after soft navigation #135

NeverDecaf opened this issue Dec 2, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@NeverDecaf
Copy link
Owner

This only applies to version 1.5.4.1+

When moving around the web store, ~half of the extensions you navigate to will have a disabled Add to Chrome button. Here is my theory on why:
The web store is checking for some type of abuse by comparing against your "referrer chain" which it obtains with the private function chrome.webstorePrivate.getReferrerChain. The current implementation of this in chromium-web-store is to just return the value EgIIAA==. My hope is that if a correct value were returned by this function, then the web store would function correctly. However, I don't have the skills or knowledge necessary to decipher Google's referrer chain format so I can't verify if this theory is even remotely correct. For now the workaround is to refresh the page. Help with this would be greatly appreciated.

note to self: you can view your current referrer chain in vanilla chrome with: chrome.webstorePrivate.getReferrerChain((c) => console.log(atob(c),c));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant