mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 11:58:14 +01:00
add custom js :3
This commit is contained in:
parent
4ab3e1c910
commit
eb34c3337c
1 changed files with 6 additions and 1 deletions
|
@ -15,3 +15,8 @@ if (style.styleSheet){
|
||||||
} else {
|
} else {
|
||||||
style.appendChild(document.createTextNode(css));
|
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