Skip to content

Commit 4b80775

Browse files
committed
care only about http/https
1 parent 3801285 commit 4b80775

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dist/httpswitchboard_0.6.4.zip

3 Bytes
Binary file not shown.

js/start.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ chrome.contentSettings.javascript.clear({});
4141
// resource from being fetched.
4242
// https://github.com/gorhill/httpswitchboard/issues/35
4343
chrome.contentSettings.javascript.set({
44-
primaryPattern: '*://*/*',
44+
primaryPattern: 'https://*/*',
45+
setting: 'allow'
46+
});
47+
chrome.contentSettings.javascript.set({
48+
primaryPattern: 'http://*/*',
4549
setting: 'allow'
4650
});
4751

0 commit comments

Comments
 (0)