国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
greasemonky 更改當(dāng)前頁面的 腳本
因?yàn)閳D省事兒。在平常看的
http://booklink.me/ 的首頁給自動(dòng)轉(zhuǎn)到書架頁面(這樣節(jié)省了空間)
就自己寫了個(gè)JS腳本,(需要在greasemonkey 平臺(tái))
(不足之處就在于:頁面會(huì)先load主頁面信息,也就是會(huì)閃一下,再轉(zhuǎn)到書架頁面。)

代碼如下

// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name URL Replacer
// @namespace http://booklink.me/
// @description Replaces the main page url into bookshelf
// @include http://*
// @include https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
location.;
}


//
// ChangeLog
// 2005-04-18 - 0.2 - MAP - Its just the beginning
// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.  To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name          URL Replacer
// @namespace     http://booklink.me/
// @description   Replaces the main page url into bookshelf
// @include       http://*
// @include       https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
    location.;
}
var curURL = document.URL;
if( curURL.indexOf("6park") != -1)
{
   location.;
}
// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name URL Replacer
// @namespace http://booklink.me/
// @description Replaces the main page url into bookshelf
// @include http://*
// @include https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
location.;
}


//
// ChangeLog
// 2005-04-18 - 0.2 - MAP - Its just the beginning
// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name URL Replacer
// @namespace http://booklink.me/
// @description Replaces the main page url into bookshelf
// @include http://*
// @include https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
location.;
}


//
// ChangeLog
// 2005-04-18 - 0.2 - MAP - Its just the beginning
// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name URL Replacer
// @namespace http://booklink.me/
// @description Replaces the main page url into bookshelf
// @include http://*
// @include https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
location.;
}


//
// ChangeLog
// 2005-04-18 - 0.2 - MAP - Its just the beginning
// Released under the GPL license
// Tiger Deng
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later:
// Then restart Firefox and revisit this script.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name URL Replacer
// @namespace http://booklink.me/
// @description Replaces the main page url into bookshelf
// @include http://*
// @include https://*
// ==/UserScript==

if (document.URL == "http://booklink.me/")
{
location.;
}


//
// ChangeLog
// 2005-04-18 - 0.2 - MAP - Its just the beginning
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
我的 Web 我做主: Greasemonkey 入門篇
!!!!! .kmm Greasify 0.7.9.5.1rc Module for K-Meleon v1.5, 1.6, 1.7 series (updated Jan. 24, 2011)
Gist 介紹
頁面刷新
【教程、無技術(shù)含量】簡(jiǎn)單的油猴腳本編寫教程
深入淺出-油猴腳本
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服