bypassbalabala

跳过知识产权局废话

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==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);}