hi im pretty much a beginner.I need some help turning this script in an browser extension for firefox.
The script:
window.onload = function () {
setInterval(function(){
window.open( "http://www.google.com/" );
}, 3000);
};
*I know this would be inconvenient to the users,its just experimental.
You will need to start your Firefox extension development by following this guide: http://kb.mozillazine.org/Getting_started_with_extension_development – it will get you the simplest extension.
Then, to hook your JavaScript to page load event you follow this guide: https://developer.mozilla.org/en/Code_snippets/On_page_load