Fix repetition of kissu.moe in package.json
This commit is contained in:
parent
e863b6f103
commit
06395993b9
10
package.json
10
package.json
@ -43,18 +43,18 @@
|
|||||||
"*://is.4chan.org/*",
|
"*://is.4chan.org/*",
|
||||||
"*://is2.4chan.org/*",
|
"*://is2.4chan.org/*",
|
||||||
"*://is.4channel.org/*",
|
"*://is.4channel.org/*",
|
||||||
"*://is2.4channel.org/*",
|
"*://is2.4channel.org/*"
|
||||||
"https://kissu.moe/*",
|
|
||||||
"https://www.kissu.moe/*"
|
|
||||||
],
|
],
|
||||||
"matches_only": [
|
"matches_only": [
|
||||||
"*://*.4chan.org/*",
|
"*://*.4chan.org/*",
|
||||||
"*://*.4channel.org/*",
|
"*://*.4channel.org/*",
|
||||||
"*://*.4cdn.org/*",
|
"*://*.4cdn.org/*"
|
||||||
|
],
|
||||||
|
"matches": [
|
||||||
"https://kissu.moe/*",
|
"https://kissu.moe/*",
|
||||||
"https://www.kissu.moe/*"
|
"https://www.kissu.moe/*"
|
||||||
],
|
],
|
||||||
"matches": [
|
"matches_extra": [
|
||||||
"https://www.google.com/recaptcha/api2/anchor?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*",
|
"https://www.google.com/recaptcha/api2/anchor?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*",
|
||||||
"https://www.google.com/recaptcha/api2/frame?*&k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*",
|
"https://www.google.com/recaptcha/api2/frame?*&k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc*",
|
||||||
"https://www.google.com/recaptcha/api2/frame?*&k=887877714&*",
|
"https://www.google.com/recaptcha/api2/frame?*&k=887877714&*",
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"content_scripts": [{
|
"content_scripts": [{
|
||||||
"js": ["script.js"],
|
"js": ["script.js"],
|
||||||
"matches": <%= JSON.stringify(meta.matches_only.concat(meta.matches)) %>,
|
"matches": <%= JSON.stringify(meta.matches_only.concat(meta.matches, meta.matches_extra)) %>,
|
||||||
"exclude_matches": <%= JSON.stringify(meta.exclude_matches) %>,
|
"exclude_matches": <%= JSON.stringify(meta.exclude_matches) %>,
|
||||||
"all_frames": true,
|
"all_frames": true,
|
||||||
"run_at": "document_start"
|
"run_at": "document_start"
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<% if (channel !== '-noupdate') { %> "update_url": "<%= meta.downloads %>updates<%= channel %>.xml",
|
<% if (channel !== '-noupdate') { %> "update_url": "<%= meta.downloads %>updates<%= channel %>.xml",
|
||||||
"key": "<%= meta.appid %>",
|
"key": "<%= meta.appid %>",
|
||||||
<% } %> "minimum_chrome_version": "<%= meta.min.chrome %>",
|
<% } %> "minimum_chrome_version": "<%= meta.min.chrome %>",
|
||||||
"permissions": <%= JSON.stringify(meta.matches_only.concat(["storage"])) %>,
|
"permissions": <%= JSON.stringify(meta.matches_only.concat(meta.matches, ["storage"])) %>,
|
||||||
"optional_permissions": [
|
"optional_permissions": [
|
||||||
"*://*/"
|
"*://*/"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
return expand(matches, /^\*/, ['http', 'https']);
|
return expand(matches, /^\*/, ['http', 'https']);
|
||||||
}
|
}
|
||||||
return [].concat(
|
return [].concat(
|
||||||
expandMatches(meta.includes_only.concat(meta.matches)).map(function(match) {
|
expandMatches(meta.includes_only.concat(meta.matches, meta.matches_extra)).map(function(match) {
|
||||||
return '// @include ' + match;
|
return '// @include ' + match;
|
||||||
}),
|
}),
|
||||||
expandMatches(meta.exclude_matches).map(function(match) {
|
expandMatches(meta.exclude_matches).map(function(match) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user