inital
This commit is contained in:
parent
288956edaf
commit
d2a9ca016d
|
@ -0,0 +1 @@
|
|||
!function(){const e=document.createElement("meta");e.name="darkreader",e.content="NO-DARKREADER-PLUGIN";const t=function(){!function(){document.querySelector('meta[content="'+e.content+'"]')||document.head.appendChild(e);let t=document.querySelector('meta[name="'+e.name+'"]');t&&t.content!=e.content&&t.remove()}(),function(){for(const e of document.head.getElementsByClassName("darkreader"))e.remove()}()},n={attributes:!1,childList:!0,subtree:!1},o=new MutationObserver(t);!document.querySelector('meta[content="'+e.content+'"]')&&document.querySelector('meta[name="'+e.name+'"]')?console.error("Please add the line bellow to your index.html:\n",'<meta name="darkreader" content="NO-DARKREADER-PLUGIN">\n',"or you may encounter a performance issue!\n","\nplease take a look at: https://github.com/hadialqattan/no-darkreader#usage"):(o.observe(document.head,n),t())}();
|
Loading…
Reference in New Issue