Re:Implementing bookmarklets in JavaScript
by buddydvd on Saturday June 11, 2011 @03:13AM
(#2643395)
Instead of polling, you can define event handlers for <script>'s onload and onreadystatechange event to detect when jQuery gets loaded. See Ben Alman's jQuery bookmarklet generator for an example: http://benalman.com/code/test/jquery-run-code-bookmarklet/
[ Parent
| on HN ]
There are no comments on this comment yet.