Greasemonkey (usually) doesn’t have jQuery. So the common approach is to use
window.addEventListener('load', function() {
// your code here
}, false);
inside your userscript
More Related Contents:
- Choosing and activating the right controls on an AJAX-driven site
- jQuery in Greasemonkey 1.0 conflicts with websites using jQuery
- How to get an AJAX get-request to wait for the page to be rendered before returning a response?
- Run Greasemonkey script on the same page, multiple times?
- Can a website know if I am running a userscript?
- How to use greasemonkey to selectively remove content from a website
- Simulating a mousedown, click, mouseup sequence in Tampermonkey?
- How to change a class CSS with a Greasemonkey/Tampermonkey script?
- Save images to hard disk WITHOUT prompt?
- Detecting combination keypresses (Control, Alt, Shift)?
- How to exclude iframe in Greasemonkey or Tampermonkey?
- How to simulate typing in input field using jQuery?
- Storing user login/password input in a Greasemonkey script on install
- How to override the alert function with a userscript?
- Error: Permission denied to access property ‘handler’
- Add a JavaScript button using Greasemonkey or Tampermonkey?
- How do I get Greasemonkey to click on a button that only appears after a delay?
- How do I chain three asynchronous calls using jQuery promises?
- Verify External Script Is Loaded
- Parsing URL hash/fragment identifier with JavaScript
- Injecting JS functions into the page from a Greasemonkey script on Chrome
- keyCode values for numeric keypad?
- Rotate image with javascript
- Responsive horizontal page sliding
- jQuery call function from a string [duplicate]
- how to resolve iframe cross domain issue [duplicate]
- How do I click on this button with Greasemonkey?
- How can I stop jQuery.ajax() from logging failures to the console?
- How to create a new img tag with JQuery, with the src and id from a JavaScript object?
- How to stop user from printing webpages? using javascript or jquery