Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Commit ee82c7d

Browse files
author
René Kooi
committed
run on all plug.dj domains
1 parent 1cbc0fc commit ee82c7d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

extensions/chrome/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"48": "img/icon48.png",
99
"128": "img/icon128.png"
1010
},
11-
"permissions": [ "https://plug.dj/*" ],
11+
"permissions": [ "https://plug.dj/*", "https://*.plug.dj/*" ],
1212
"content_scripts": [ {
13-
"matches": [ "https://plug.dj/*" ],
13+
"matches": [ "https://plug.dj/*", "https://*.plug.dj/*" ],
1414
"js": [ "main.js" ]
1515
} ],
1616
"web_accessible_resources": [ "extplug.js" ]

extensions/firefox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function inject(url) {
1010
}
1111

1212
pageMod.PageMod({
13-
include: 'https://plug.dj/*',
13+
include: '*.plug.dj',
1414
attachTo: 'top',
1515
contentScript: ';(' + inject + '(' + JSON.stringify(self.data.url('extplug.js')) + '));'
1616
});

extensions/userscript/extplug.user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// @version <%= version %>
55
// @icon https://extplug.com/icon.png
66
// @match https://plug.dj/*
7+
// @match https://*.plug.dj/*
78
// @namespace https://extplug.github.io/
89
// @downloadURL https://extplug.github.io/ExtPlug/extplug.user.js
910
// @updateURL https://extplug.github.io/ExtPlug/extplug.user.js

0 commit comments

Comments
 (0)