TSDM打工

彩蛋:https://www.lanzoux.com/icojweyvxcj

目前為 2021-09-01 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        TSDM打工
// @namespace   https://greasyfork.org/zh-CN/users/821
// @author      ashcarbide
// @description 彩蛋:https://www.lanzoux.com/icojweyvxcj
// @include     *://tsdm39.net/plugin.php?id=np_cliworkdz:work*
// @include     *://tsdm39.net/forum.php?mod=viewthread&tid=321479
// @include     *://www.tsdm39.net/plugin.php?id=np_cliworkdz:work*
// @include     *://www.tsdm39.net/forum.php?mod=viewthread&tid=321479
// @version     5.9
// @grant       none
// @run-at      document-end
// @license     GPL version 3
// ==/UserScript==

 
/*   老版本备份 不用管
     var num=0;
     $('div[id*="np_advid"]>a').each(function(index, element) {
     hrefValue = $(this).attr("href","javascript:;") ; 
     targetValue = $(this).attr("target","_self") ;
     });

     $('div[id*="np_advid"]>a').bind("mouseover",function(){
     $(this).slideToggle();    
     $.post("plugin.php?id=np_cliworkdz:work",
     {
       act:"clickad"
     },
     function(data){
	   num++;
     if(num==6){setTimeout(tijiao,2000);}
//   alert(num);
     }
     );
     });      
     
     function tijiao(){
     $.post("plugin.php?id=np_cliworkdz:work",
     {act:'getcre'},
     function(data)
     {
//   console.log('领奖响应:'+data);
     console.log(remind(data));
     window.location=window.location;}
     );
     }
        
     function remind(data){
     var info=data.match(/class="alert_info">[\s]{0,4}<p>([^<]*)</)[1];
     return info;
     }
*/
var url=window.location.href;
if(url.match("tid=321479"))
{
    for (var i = 0; i < 10; i++) {
    setTimeout((function() {
    window.open('plugin.php?id=np_cliworkdz:work');
 }), i * 21640000);
}}


jQuery(document).ready(function($){
//   setTimeout(function(){$('#advids').children().children().trigger("click");}, 100);
     setTimeout(function(){$('#np_advid1').children().trigger("click");},300);
     setTimeout(function(){$('#np_advid2').children().trigger("click");},600);
     setTimeout(function(){$('#np_advid4').children().trigger("click");},900);
     setTimeout(function(){$('#np_advid6').children().trigger("click");},1200);
     setTimeout(function(){$('#np_advid7').children().trigger("click");},1500);
     setTimeout(function(){$('#np_advid9').children().trigger("click");},1800);
//    document.getcre.submit();
    setTimeout(function(){document.getcre.submit();},2500);
//    setTimeout(function(){$('#stopad').children().trigger("click");},2000);
});