Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GM_xmlhttpRequest({
- url : "http://www.sometime.com/?results?page=1",
- method : "GET",
- onload : function(res) {
- // some code to execute after the first GM_xmlhttpRequest finishes
- GM_xmlhttpRequest({
- url : "http://www.sometime.com/?results?page=2",
- method : "GET",
- onload : function(res) {
- // some code to execute after the second GM_xmlhttpRequest finishes
- GM_xmlhttpRequest({
- url : "http://www.sometime.com/?results?page=3",
- method : "GET",
- onload : function(res) {
- // some code to execute after the third GM_xmlhttpRequest finishes
- }
- });
- }
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement