javascript - Coding browser extensions, Addons, Firefox, Safari, Chrome etc… Is this possible? -


i'm not familiar browser extensions , before begin explore them have few questions.

let's extension injects javascript in current website user visiting (if that's possible). injected javascript code get, let's current url example purposes, , send , store on database. next time user visits same website, user extension notification informing second or third or x time or has visited same website.

now have gave scenario, following possible? injecting javascript browser extension current visiting website. if so, can make ajax communication javascript , php server?

yes, can inject stuff. see e.g. insert code page context using content script , how inject javascript page, firefox add-on, , run it? or 1 of many dupes there are.

you can use whatever communication available between site , server, e.g. xhr, websockets, jsonp.

please check policies of chrome web store , mozilla add-ons site regarding content/code injection , privacy rules. e.g. mozilla add-ons reject add-on if injected remote scripts (meaning code not bundled, e.g. originating e.g. http:) , may reject stuff if track users without prior explicit user consent.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -