Hi all
I am building a plugin for chrome and i need a little help.
What I'm Building:
I have made a plugin that uses a content script to detect certain web pages and then runs a javascript.
Problem:
Simple enough but i want this javascript to be changeable i.e the user clicks on a button in the pop up window and it changes, but i cant use functions inside the javascript because this javascript needs to be injected into the url bar and it for some reason it just doesn't work.
Here's the current source code:
now in attachment
With that source code i put a few different javascript in as they are what i want the user to be able to switch to. I would also like to know how to make an on off button work.
P.S thanks for all your input. But can somebody actually try it out in my source before posting, because so far i have had some good ideas but not a single way that actually works, this might just be me as i have no idea about web technology as i am studying object orientated languages like c++. But i really want to get this sorted so i can finish off this project.


LinkBack URL
About LinkBacks



Reply With Quote