1
0
Fork 0
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:
Ashley 2023-02-23 16:03:16 +00:00
parent 971443c4ba
commit a348fec5f3

View file

@ -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);