×

Give a tip

skonukcu

Members
  • Posts

    16
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Profiles

Forums

Release Notes

Bug Tracker

Help page

Help page-CN

Release Note5

Rules and recruitment

Release Note6

Posts posted by skonukcu

  1. 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);