Hello, i’m new here. I want to develop a firefox extension for my site.
I started to create files, it’s all ok.But for now, i want to work step by step.I tried to add a alert when page loaded
function startup(){
var x = "done !";
alert(x);
}
window.addEventListener("load", startup, false);
Code is in borderify:
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["borderify.js"]
}
]
But nothing happens.
If i resolve that, next step will be:
- click on a id when page loaded completly
- inspect an element and extract something.
- etc
I want learn to develop extension, final step is extract from a player loaded in iframe, url of video link directly (video.mp4), for now is little hard.
Sorry for my eng. Thank u !