Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDemocracy authored Aug 15, 2017
1 parent 7bc0cf1 commit abd3475
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions run
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/MrDemocracy/netflix-sync/master/jquery-ui.js', 'js');
load('https://raw.githubusercontent.com/MrDemocracy/netflix-sync/master/netflix-sync.js','js');
load('https://raw.githubusercontent.com/MrDemocracy/netflix-sync/master/netflix-sync.css','css');

0 comments on commit abd3475

Please sign in to comment.