Answer the question
In order to leave comments, you need to log in
How to run a script only on a specific address?
How to run a script only at the specified address?
{
"manifest_version":2,
"name":"game love",
"version":"1.0",
"icons":{
"64":"favicon1.png"},
"content_scripts":[
{
"matches":["*://*/*"],
"js":["com.js"]
}
],
"permissions":["https://site.com/ping1"]
Answer the question
In order to leave comments, you need to log in
// Скрипты отвечающие за модификацию страниц сайтов
"content_scripts": [
{
"js": [
"/js/jquery-3.3.1.min.js",
"/js/content_script.js"
],
"run_at": "document_start",
// Адреса страниц на котрых запускается фоновый скрипт
"matches": [
" https://site.com/ping1",
],
"all_frames": true
}
],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question