您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
work
当前为
- // ==UserScript==
- // @name hwm_work_at_home
- // @author Kopatych
- // ==UserScript==
- // @name work_hwm
- // @description work
- // @author Kopatych
- // @license MIT
- // @version 1.0.1
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
- // @include http://www.heroeswm.ru/*
- // @include http://qrator.heroeswm.ru/*
- // @include http://178.248.235.15/*
- // @include http://www.lordswm.com/*
- // @namespace https://greasyfork.org/users/13597
- // ==/UserScript==
- (function (window, undefined) {
- var w;
- if (typeof unsafeWindow !== undefined) {
- w = unsafeWindow
- } else {
- w = window;
- }
- if (w.self != w.top) {
- return;
- }
- var appendEmployeement = function(type)
- {
- $.get('http://www.heroeswm.ru/map.php?st='+type,
- {},
- function(html)
- {
- var html = $(html);
- var factories = null;;
- var factories = html.find('table .wb tbody tr:gt(3)');
- workBlock.append(factories);
- $('.work-space tr .wblight').remove();
- $('.work-space tr:contains(Тип)').remove();
- });
- }
- if (/\/home.php/.test(location.href)) {
- if (!this.GM_addStyle || (this.GM_addStyle.toString && this.GM_addStyle.toString().indexOf("not supported")>-1))
- {
- $('td [width = 55%]').append("</br></br><table class = 'work-space wb'></table>")
- var workBlock = $('.work-space');
- appendEmployeement('mn');
- appendEmployeement('fc');
- appendEmployeement('sh')
- };
- }
- })(window);