I'm trying to build a chrome extension, based on this one
so I have two files: manifest.json and sample.js
I make some changes on sample.js, they sometimes apply when I reload the page, sometimes don't. I try clearing the cache. Again, it sometimes work. Now I'm completely stuck.
Let's say I try to alert something when clicked on a context menu,
function onClickHandler(info, tab) {
alert("1");
}
then I change it to
function onClickHandler(info, tab) {
alert("2");
}
but it keeps alerting 1.
I try clearing the cache, closing and re opening Chrome, even uninstalling and re-installing the extension. Nothing works.
I hope I made myself clear. How do I make sure that the extension is up to date with my sample.js file?
Do I need to disable javascript cache somewhere ?
Thanks for any help..