I've a userscript as the following:
document.addEventListener('click', alert('hello monkey'), true);
There were two problems:
"hello monkey" is alerted only when refreshing the browser, not work when clicking window.
using GM's 'manage user script' to edit the script, the change doesn't happen. (The source code on the local disc was changed.)