Skip YouTube redirects
YouTube增加了一个 “你确定你想把你的注意力转移到其他地方吗?” 页面,这样用户就不会离开网站。这个附加组件立即跳过那个页面,为用户节省了时间。源代码是: V..
基本信息
- 更新日期:
- 包名:
- skip-youtube-redirects
- 版本:
- 1.0
- 大小:
- 26.83KB
- 类型:
- Firefox
- 平台:
- Firefox
- 评分:
- 发布日期:
- 2020-03-05
- 价格:
- 免费
- 开发者:
- Carlos Galindo
Skip YouTube redirects插件截图
Skip YouTube redirects插件简介
YouTube增加了一个 “你确定你想把你的注意力转移到其他地方吗?” 页面,这样用户就不会离开网站。这个附加组件立即跳过那个页面,为用户节省了时间。源代码是:
Var currURL = window.location.h
YouTube has added a “You sure you want to direct your attention elsewhere?” page so that users are discouraged from leaving the site. This add-on skips that page immediately, saving time for the user. The source code is:
var currURL = window.location.href;
var matches = currURL.match("/redirect?.*q=([^&]+)");
if (matches.length > 1) {
var decoded = decodeURIComponent(matches[1]);
window.location.replace(decoded);
}
中文翻译
YouTube增加了一个 “你确定你想把你的注意力转移到其他地方吗?” 页面,这样用户就不会离开网站。这个附加组件立即跳过那个页面,为用户节省了时间。源代码是:
Var currURL = window.location.href;
Var matches = currURL.match("/redirect ?.* q =([^ &] )");
如果 (匹配。长度> 1) {
Var解码 = decodeURIComponent (匹配 [1]);
Window.location.replace (解码);
}