mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 01:58:56 +01:00
add custom js :3
This commit is contained in:
parent
4ab3e1c910
commit
eb34c3337c
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