Tweak chrome extentions for .local.jh domans
This commit is contained in:
parent
4be5150340
commit
fb3fb570c8
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
|||
console.log( "yay" );
|
||||
if(window.location.host.indexOf(".local.jh") == -1){
|
||||
console.log( "I get here" );
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'https://dotjs.local.jh/' + window.location.host.replace(/^www\./, '') + '.js');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue