forked from MrDemocracy/netflix-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun
17 lines (17 loc) · 774 Bytes
/
run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
javascript:function load(filename){
if(filename.endsWith('.js')){
var fileref=document.createElement('script');
fileref.setAttribute('type','text/javascript');
fileref.setAttribute('src',filename);
}
else if (filename.endsWith('.css')){
var fileref=document.createElement('link');
fileref.setAttribute('rel','stylesheet');
fileref.setAttribute('type','text/css');
fileref.setAttribute('href',filename);
}
document.getElementsByTagName('head')[0].appendChild(fileref);
}
load('https://raw.githubusercontent.com/Trigger911/netflix-sync/master/jquery-ui.js', 'js');
load('https://raw.githubusercontent.com/Trigger911/netflix-sync/master/netflix-sync.js','js');
load('https://raw.githubusercontent.com/Trigger911/netflix-sync/master/netflix-sync.css','css');