chromium-web-store icon indicating copy to clipboard operation
chromium-web-store copied to clipboard

Webstore button is greyed out after soft navigation

Open NeverDecaf opened this issue 1 year ago • 0 comments

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));

NeverDecaf avatar Dec 02 '23 23:12 NeverDecaf