My matches scheme:
"content_scripts" : [
{
"matches" : [
"https://stackoverflow.com/questions#epic*"
],
"js" : ["silly.js"]
}
],
So if the user went to a webpage (like https://stackoverflow.com/questions) then added #epic
it would go to https://stackoverflow.com/questions#epic but would have #epic
on the end of the URL, which would activate the content script silly.js
.
That's what's supposed to happen, but that doesn't work.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…