简体   繁体   中英

Load Chrome extension outside of Chrome?

Is it possible to run an chrome extension outside of Google Chrome?

I copied the source code of an extension but when I run it, nothing happens. If it is loaded inside of Google Chrome, it loads properly. Is there a condition or something that checks if the extension is being opened by Chrome that doesn't let it load properly outside of it?

Thanks.

Depends.

Can you just double click the html file and expect it to work? No. Can you make it so you can open the extension from a desktop icon or the App Launcher ? Yes. See Chrome Apps

I think you're trying to do the first thing, so no, you can't do that. Chrome extensions and apps rely on API that is not exposed to other websites or scripts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM