Advertisement
Guest User

IsQuestCompleted

a guest
Jun 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         IsQuestCompleted
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  Simple macro that check you completed that quest before.
  6. // @author       Przemekb88 / Yalahari
  7. // @match        http://www.wowhead.com/quest=*
  8. // @grant        none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12.     'use strict';
  13.  
  14.     var url = window.location.href;
  15.     var page = url.substring(url.lastIndexOf('quest=') + 6);
  16.     var result = page.split('/');
  17.     $("#infobox-contents0 ul").append('<li><div>/script print(IsQuestFlaggedCompleted('+result[0]+'))</div></li>');
  18. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement