-
Notifications
You must be signed in to change notification settings - Fork 900
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
Bookmarklet to download extensions from Chrome Web Store #869
Comments
I like this, except apparently it's possible to not have the app ID as the last path element. Most of the time this should be fine, so I'll add this. Thanks! |
Hi, thanks for adding it. :) But do you happen to have an example url which is different than these? I haven't found other url schemes: |
@biziclop You won't get there by any normal means, but it's possible to add path elements yourself. These path elements won't be removed after you visit the CWS. If the extension is being linked from somewhere else, it's possible (but unlikely) that the URL may contain unwanted path elements. |
Thanks for your answer. I found another solution, by finding the 'report' link, which is available even for Google's own cr*p: Full bookmarklet: |
A simple solution is to go to this site that extracts the source code from crx, for some reason on windows when I drag crx in the extensions tab nothing happens. |
@Clebersonc you need to unpack it to get the source code, the unzip the folder somewhere. |
Old issue but just want to say I think it would help this project a lot if the bookmarklet came pre-installed |
@qpwo There exist more convenient ways nowadays: https://github.com/NeverDecaf/chromium-web-store |
The Chrome Web Store page changed sometime after mid-September, which broke the bookmarklet. The report link element now looks like this: <a href="./detail/cjpalhdlnbpafiamejdnhcphjbkeiagm/report" target="_blank" class="X4yNFb">Report a concern</a> One possible fix: document.querySelector('a[href$="/report"]').pathname.split('/')[2] javascript:location.href='https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion='+(navigator.appVersion.match(/Chrome\/(\S+)/)[1])+'&x=id%'+'3D'+(document.querySelector('a[href$="/report"]').pathname.split('/')[2])+'%'+'26installsource%'+'3Dondemand%'+'26uc'; |
Is your feature request related to a problem? Please describe.
I needed a simple and clean solution to install extensions easier from the Store.
Describe the solution you'd like
Based on the wiki instructions I made this:
javascript:location.href='https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion='+(navigator.appVersion.match(/Chrome\/(\S+)/)[1])+'&x=id%'+'3D'+(location.pathname.split('/').pop())+'%'+'26installsource%'+'3Dondemand%'+'26uc';
So first I set the chrome://flags/#extension-mime-request-handling flag to "Always prompt for install", restarted UngooChromium, went to the webstore page, clicked on the bookmarklet, and boom.
Describe alternatives you've considered
There is already a website and an extension, but my bookmarklet is simpler :)
#767 (comment) #734
The text was updated successfully, but these errors were encountered: