i want start my js script if the page finish to loading.
Manifest:
"content_scripts": [ {
"matches": [ "https://*.youtube.com/*", "http://*.youtube.com/*" ],
"js": [
"js/jquery-3.2.1.min.js",
"js/youtube.js",
"js/function.js"
],
"css": [
"css/youtube.css"
],
"run_at": "document_end",
"all_frames": false
}
],
How I can start "js/youtube.js"
and "js/function.js"
?
The Youtube Page load but it load first my extension.