私のマッチスキーム:
"content_scripts" : [
{
"matches" : [
"https://stackoverflow.com/questions#epic*"
],
"js" : ["silly.js"]
}
],
したがって、ユーザーが Web ページ ( https://stackoverflow.com/questionsなど) にアクセスした場合、追加#epic
するとhttps://stackoverflow.com/questions#epicに移動しますが#epic
、URL の末尾にあるため、アクティブになりますコンテンツ スクリプトsilly.js
。
それが起こるはずですが、うまくいきません。