My matches scheme:
\"content_scripts\" : [
{
\"matches\" : [
\"https://stackoverflow.com/questions#epic*\"
],
\"js\" : [\"silly.js\"]
}
],
See Content scripts, Match Patterns.
Match patterns do not operate on the fragment portion of a URL.
To restrict a content script to a given hash, use the include_globs and/or exclude_globs properties.
For example, in this case you might use:
"content_scripts" : [ {
"matches" : [
"*://stackoverflow.com/questions/*"
],
"include_globs" : ["*#epic*"],
"js" : ["silly.js"]
} ],