neocotic / injector-chrome

Chrome extension that allows you to create custom code snippets to be injected into any website
MIT License
36 stars 14 forks source link

Dropdown menu with "recepies" #10

Open velsa opened 10 years ago

velsa commented 10 years ago

Most of the times I want to execute code on a page manually, but right now the extension runs it automatically.

Can you add a dropdown menu to the icon with a list of JS snippets, available for the matched URL ? That would be VERY helpful.

And in the future, maybe you can create an online store of snippets ("recepies") for different sites, which alter their looks or behavior.

neocotic commented 10 years ago

I'll consider the dropdown but probably not in the next release. I'm currently working on completely redesigning the options page so that it's even easier to manage and edit your snippets. This may also include the ability to select when (in the page loading phase) and where (in the DOM) exactly the snippet is injected. If I do this I could add a "Manual" option to the first option which would lead to your suggested feature.

As for your latter suggestion; I'm not sure this is something I want for this extension as it will require developing and hosting a web service repository which would mean that I'd have to monetize this extension, leading to advertisements etc. I am currently considering adding the ability to select snippets that you'd like to "sync" across other devices that you have the extension installed on.

Thanks for your interest and for using this extension :smile: I'm trying to get more time to work on my open source projects and this is one high up on the list that I want to build on, mainly because I use it so much and keep finding things that annoy me about it.