Cleanup style

This commit is contained in:
Ximi1970
2020-01-05 13:50:38 +01:00
parent 34d776b29f
commit 1b77e5aa93
4 changed files with 49 additions and 40 deletions

4
webext/js/styles.js Normal file
View File

@@ -0,0 +1,4 @@
var stylesheet = document.currentScript.getAttribute('stylesheet');
document.getElementsByTagName("head")[0].insertAdjacentHTML(
"beforeend",
`<link rel=\"stylesheet\" href=${stylesheet} />`);