skonukcu

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About skonukcu

  • Rank
    Freshman
  1. "doc_start" extensions not work since 5.1

    thanks for reply! i solve it. document.getElementsByTagName("html")[0].appendChild(stil); change 'head' to 'html' OK
  2. hello. i have an extension that injects css to a page. entryPoints parameter is "doc_start" and it works fast. it works at version 5.0.4.3000. but at version 5.1.0.3000 and above it does'nt works. it needs to change entryPoints parameter to "doc_end" or "doc_onload". and it works little bit slow. is there any way for work the extension at doc_start. ps: i tried "DOMContentLoaded", it works but still slow. manifest.json : "entryPoints": ["doc_start"] js file : var csss = "*{font-family: Verdana bla bla bla"; var stil = document.createElement("style"); stil.type="text/css"; stil.innerHTML = csss; document.getElementsByTagName("head")[0].appendChild(stil);