Can chrome extension download a webpage to the extension folder? - google-chrome-extension

I am working on a url filtering chrome extension, I want to download a webpage to my extension folder so that extension can access it even without connection to my server. Is it doable?

woxxom provided the answer in a comment:
Not possible. Keep it in the storage.

Related

How to download original source-code from chrome web store

I have an extension in Chrome Webstore I would like to download original files that used to be uploaded. Is there any direct way to download it straight from the store, since I am the creator and I do have access to my account?
You can download the current / past version of an extension on https://chrome-stats.com/. You can also just inspect the source code directly on that website.

How protect chrome extension of reupload

Everybody can download chrome extension, edit and reupload, how i can protect my chrome extension and what i need to do if i see someone reupload my chrome extension?
You can't bulletproof-protect it. The only thing you can reasonably guarantee to be unique is the extension ID for published items - but any checks you would do against it can be circumvented.
It's not a technical problem. It's a social/legal problem.
If you see someone doing it, you should use the Report Abuse function of the Web Store.
What other does is to load the "actual" code of their extension remotely (via CDN)
The code that is packaged with chrome extension just act as loader or their "real" extension code.
See Streak's InboxSDK (sdk to build chrome extensions for gmail). It uses the same concept. https://www.inboxsdk.com/docs/

How do I get my google chrome extension to interact with pages outside the extension?

So I've built the main functionality for an extension already, and have it uploaded as a web page on my server. I'd like to have it interact with any page a visitor goes to though and not just my page on the server. It's just the HTML/CSS/Javascript and jQuery.
I've been reading the documentation, and it says/implies I need to use a content script. I do have this script included as a content script as well though, however I'm probably doing it wrong. Mainly looking for some guidance/direction as to where to go on this.
The extension is to be one that removes all images from a page.
The site is http://199.127.226.221/testsites/chromeapp/
This is the manifest file: http://199.127.226.221/testsites/chromeapp/manifest.json
This is the .crx file: http://199.127.226.221/testsites/chromeapp/chromeapp3.crx
You should supply the extension as a .crx file.
Also it seems you should specify desired urls for content scripts in permissions of manifest

uploading data from localstorage to google drive in a chrome extension

Integrating a chrome extension(not hosted) with google drive seems to be not possible if I am correct. Is there a way to upload content from 'localstorage to google drive in a chrome extension?
Can the depreciated documents list api be used to do that? if yes, how?
For example, user has some data in the localstorage of the popup.html page in the extension. User would want to backup that data in his google drive. How can it be done from a chrome extension with no hosted page.
Thanks in advance.
You can upload files to Drive using JavaScript. Check the step-by-step quickstart guide for JavaScript to learn about it, you will have to change the code in order for it to read from localstorage instead of the filesystem:

Problem about Chrome Extension

I try to write an extension and i saw the very restricted policy security.
I should create an extension that allows me to listen and download podcast from web. It is possible?
I use Chrome OS with VMWare, this OS has additional Api than Google Chrome Browser?
Thanks
Yes it is possible to have a content scripts that executes on every page looking for specific media content. The content page could send a request back to the extension to indicate it has found a media file and using the URL you could play it in an tag inside the extension.

Resources