// ==UserScript== // @name HWM arts hard // @description Текущая прочность // @namespace перф // @version 1.1 // @encoding utf-8 // @include http://www.heroeswm.ru/home.php // @include http://qrator.heroeswm.ru/home.php // @include http://178.248.235.15/home.php // @include http://209.200.152.144/home.php // @include http://173.231.37.114/home.php // @include http://www.lordswm.com/home.php // @include http://www.heroeswm.ru/pl_info.php?* // @include http://qrator.heroeswm.ru/pl_info.php?* // @include http://178.248.235.15/pl_info.php?* // @include http://209.200.152.144/pl_info.php?* // @include http://173.231.37.114/pl_info.php?* // @include http://www.lordswm.com/pl_info.php?* // @include http://www.heroeswm.ru/inventory.php // @include http://qrator.heroeswm.ru/inventory.php // @include http://178.248.235.15/inventory.php // @include http://209.200.152.144/inventory.php // @include http://173.231.37.114/inventory.php // @include http://www.lordswm.com/inventory.php // @include http://www.heroeswm.ru/inventory.php# // @include http://qrator.heroeswm.ru/inventory.php# // @include http://178.248.235.15/inventory.php# // @include http://209.200.152.144/inventory.php# // @include http://173.231.37.114/inventory.php# // @include http://www.lordswm.com/inventory.php# // @include http://www.heroeswm.ru/sklad_info.php?* // @include http://178.248.235.15/sklad_info.php?* // @include http://209.200.152.144/sklad_info.php?* // @include http://173.231.37.114/sklad_info.php?* // @include http://www.lordswm.com/sklad_info.php?* // @downloadURL https://update.greasyfork.icu/scripts/12750/HWM%20arts%20hard.user.js // @updateURL https://update.greasyfork.icu/scripts/12750/HWM%20arts%20hard.meta.js // ==/UserScript== /* История версий: [1.1] 29.09.2015 [+] добавляет ID артефакта в Инвентаре, если находит. */ var url = location.href ; var item_hard_regexp = /: (\d+)\/(\d+)/; var item_name_regexp = /uid=(\d+)/ var text_new_begin = '