window.load doesn't fire always on chrome?

前端 未结 2 1853
小鲜肉
小鲜肉 2020-12-11 09:34

I have this userscript:

// ==UserScript==
// @name          test
// @namespace     test
// @description   show\'s an alert on load
// @include       http://*         


        
2条回答
  •  青春惊慌失措
    2020-12-11 10:14

    This call may be being loaded too late on the page. Add this code to the very top of the page and see if that fixes it.

    If that isn't it please post some additional information. (Where the call is being made? Some more information on the page? Is this being called from an external .js file?)

提交回复
热议问题