mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 01:34:43 -05:00
add custom js :3
This commit is contained in:
parent
971443c4ba
commit
a348fec5f3
1 changed files with 6 additions and 1 deletions
|
@ -14,4 +14,9 @@ if (style.styleSheet){
|
|||
style.styleSheet.cssText = css;
|
||||
} else {
|
||||
style.appendChild(document.createTextNode(css));
|
||||
}
|
||||
}
|
||||
|
||||
var script_tag = document.createElement('script');
|
||||
script_tag.type = 'text/javascript';
|
||||
script_tag.text = localStorage.getItem("poke-custom-script");
|
||||
document.head.appendChild(script_tag);
|
||||
|
|
Loading…
Reference in a new issue