hwm_hunter_help

HWM mod - hwm_hunter_help (by Demin)

  1. // ==UserScript==
  2. // @name hwm_hunter_help
  3. // @namespace Demin
  4. // @description HWM mod - hwm_hunter_help (by Demin)
  5. // @homepage http://userscripts.org/scripts/show/96791
  6. // @version 1.02
  7. // @include http://*heroeswm.*/*
  8. // @include http://178.248.235.15/*
  9. // @include http://173.231.37.114/*
  10. // @include http://*freebsd-help.org/*
  11. // @include http://*heroes-wm.*/*
  12. // @include http://*hommkingdoms.info/*
  13. // @include http://*hmmkingdoms.com/*
  14. // @include http://*герои.рф/*
  15. // @include http://*.lordswm.*/*
  16. // @exclude */map.php*
  17. // @exclude */group_wars.php?filter=hunt
  18. // ==/UserScript==
  19.  
  20. // (c) 2011, demin (http://www.heroeswm.ru/pl_info.php?id=15091)
  21.  
  22. var version = '1.02';
  23.  
  24.  
  25. var els = tag('img');
  26.  
  27. for (var i=0; i<els.length; i++)
  28. {
  29. var el = els[i];
  30. if ( el.src.match('i\/top\/line\/lapa\.gif') )
  31. {
  32. alert(el.title);
  33. break;
  34. }
  35. }
  36.  
  37. function $( id ) { return document.getElementById( id ); }
  38.  
  39. function tag( id ) { return document.getElementsByTagName( id ); }