JustJumpAhead

自动完成掘金、简书、知乎、百度贴吧、PC端QQ的跳转询问界面的点击工作,实现自动跳转

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
get-want
Denně instalací
0
Celkem instalací
420
Hodnocení
1 0 0
Verze
0.3.2
Vytvořeno
29. 09. 2021
Aktualizováno
04. 10. 2021
Size
5,9 KB
Licence
neuvedeno
Spustit na

自动继续访问页面JustJumpAhead

发布:2021年9月29日23:15:50

相关博客

相关博客地址:【油猴脚本】自动继续访问页面JustJumpAhead(location;正则)_赖念安的博客-CSDN博客

脚本安装地址

参考:greasyfork:JustJumpAhead

前言

在掘金、简书、知乎等平台,如果页面中有一些指向其他网站的外部链接,可能会出现类似下面这种的链接跳转拦截页面来提示我们将离开本站,要注意财产安全。这个时候就需要我们手动点击继续访问才能继续跳转。这种设计本意是好的,但是有些指向GitHub或技术论坛的链接也会被拦截,总感觉很不友好。于是我就写了这个脚本。

掘金的跳转提示页面

脚本功能比较简单,就是当遇到像上面的跳转提示页面时,自动点击【继续访问】按钮。目前只适配掘金、简书、知乎、百度贴吧、PC端QQ的跳转拦截页面。

免责声明:因在目标跳转链接页面中产生的账号或财产损失,脚本作者概不负责,本脚本仅仅用作交流学习。

测试网址

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

更新:2021年9月30日15:19:26

看到知乎上好像也有人吐槽这个跳转拦截功能,看来确实让一些人挺烦的……😂

参考:「您即将离开知乎,请注意您的帐号和财产安全。」这提示是怎么回事? - 知乎

更新:2021年10月4日17:36:28

在这里插入图片描述

更新:2021年9月30日24:42:12

在这里插入图片描述

更新:2021年10月4日14:45:20

在这里插入图片描述

目前脚本在以上的几个地址中都可以正常运行并达到预期效果。

更新日志

V0.1

更新时间:2021年9月29日19:29:16

更新功能:

1、当遇到掘金、简书、知乎的跳转拦截页面时,自动点击【继续访问】按钮。

V0.2

更新时间:2021年9月29日23:47:46

更新功能:

1、增加对PC端QQ的跳转拦截页面的适配。

在这里插入图片描述

2、增加对百度贴吧跳转拦截页面的适配。

在这里插入图片描述

V0.3

更新时间:2021年9月30日15:25:16

更新功能:

1、未增加额外功能,只是对代码结构进行了调整。

V0.3.1

更新时间:2021年10月4日14:12:36

更新功能:

1、增加对CSDN跳转拦截页面的适配(终于蹲到它了,本来最开始就想着把它加进适配名单的,但是苦于没找到测试网址)。

在这里插入图片描述

V0.3.2

更新时间:2021年10月4日17:16:09

更新功能:

1、对网页的适配正则进行了一点小小的修改,用来应对有些拦截页面的协议可能是http也可能是https协议的情况。

在这里插入图片描述

有关参考

更新:2021年9月30日15:27:05

参考:Map - JavaScript | MDN

参考:String.prototype.indexOf() - JavaScript | MDN