This is my first hack at writing a Chrome extension. I want it to execute some pretty simple JavaScript every time a Facebook page loads. It\'s doing everything I want
I think you might have written your code inside $(function () {}) which obviously require a page load. But you want to run your code if the page DOM changes, then this may help:
document.addEventListener('DOMNodeInserted', function (event) {
});
More info: http://reminiscential.wordpress.com/2011/10/04/building_google_reader_plugin/