Is it possible to run a user script before the page and DOM loads?
A:
Only if the user script runs on google chrome atm. Greasemonkey may support this too someday:
// ==UserScript==
// @name My script
// @description It's really neat
// @run-at document-start
// ==/UserScript==
Erik Vold
2010-06-17 18:58:04
+1
A:
As Erik Vold said, Greasemonkey cannot do this unless the browser is Chrome.
But, if this functionality is needed on any other browser, you can write an extension.
Brock Adams
2010-06-18 02:37:36