hwm_chat_room

HWM mod - hwm_chat_room (by Demin)

当前为 2014-08-16 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name hwm_chat_room
  3. // @namespace Demin
  4. // @description HWM mod - hwm_chat_room (by Demin)
  5. // @homepage http://userscripts.org/scripts/show/92565
  6. // @version 1.04
  7. // @include http://*heroeswm.*/frames.php?room=2
  8. // @include http://178.248.235.15/frames.php?room=2
  9. // @include http://173.231.37.114/frames.php?room=2
  10. // @include http://*freebsd-help.org/frames.php?room=2
  11. // @include http://*heroes-wm.*/frames.php?room=2
  12. // @include http://*hommkingdoms.info/frames.php?room=2
  13. // @include http://*hmmkingdoms.com/frames.php?room=2
  14. // @include http://*герои.рф/frames.php?room=2
  15. // @include http://*.lordswm.*/frames.php?room=2
  16. // ==/UserScript==
  17.  
  18. // (c) 2010-2011, demin (http://www.heroeswm.ru/pl_info.php?id=15091)
  19.  
  20. var version = '1.04';
  21.  
  22. var a = document.getElementsByName( 'main' );
  23. if ( a[0] && a[0].parentNode ) {
  24. a[0].parentNode.innerHTML = a[0].parentNode.innerHTML.split("\"home.php\"").join("\"inventory.php\"");
  25. }