Я занимаюсь разработкой небольшого расширения для Chrome, и мне нужно иметь общий скрипт контента и несколько подробных версий на некоторых подстраницах.У меня есть два готовых сценария, но общий не работает на дочерних страницах: /
http://example.org/* - overall works, special is offline
http://example.org/otherpage* - overall works, special is offline
http://example.org/special* - overall doesn't works (why?), special works
"content_scripts": [
{
"matches": [ "http://example.org/*" ],
"js": [ "overall.js", "jquery-3.3.1.min.js" ]
},
{
"matches": [ "http://example.org/special*" ],
"js": [ "special.js", "jquery-3.3.1.min.js" ],
}
]
Я пытался начать так, но это не помогает
"content_scripts": [
{
"matches": [ "http://example.org/special*" ],
"js": [ "overall.js","overall.js", "jquery-3.3.1.min.js" ]
},