bypassbalabala

跳过知识产权局废话

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         bypassbalabala
// @namespace    http://tampermonkey.net/
// @version      0.1.1
// @description  跳过知识产权局废话
// @author       peasshoter
// @include        http://cpservice.sipo.gov.cn/home/toDisclaimer.action
// @include       http://cpquery.cnipa.gov.cn/*
// @grant        none
// ==/UserScript==

if (location.hostname === 'cpservice.sipo.gov.cn') {
    window.location.href="http://cpservice.sipo.gov.cn/dzsq/business.jsp?witchPage=2";
}


//if (location.hostname === 'cpquery.sipo.gov.cn') {
//    var ps=document.querySelectorAll("img");
//    ps[7].click()
    //$('div.wrap').children('div.login_wrap').children('div.sear').children('img').click();


    //    $('#agreeid').attr("checked","checked");
    //    $('#disagreeid').removeAttr("checked");
    //    $('#goBtn').removeAttr("disabled");
    //    $('#goBtn').click();
//}
if (location.hostname === 'cpquery.cnipa.gov.cn') {

        $('#agreeid').attr("checked","checked");
        $('#disagreeid').removeAttr("checked");
        $('#goBtn').removeAttr("disabled");
        $('#goBtn').click();
}

//$(document).ready(click);}