您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
The book title links in the RSS feeds don't work anymore -- this will redirect them so they do.
当前为
- // ==UserScript==
- // @name Redirect book title links in DeVry's Books24x7 RSS feeds
- // @namespace https://greasyfork.org/users/130-joshg253
- // @description The book title links in the RSS feeds don't work anymore -- this will redirect them so they do.
- // @include http://*.*
- // @include https://*.*
- // @exclude http://devry.skillport.com/*
- // @exclude https://devry.skillport.com/*
- // @version 1a
- // @grant none
- // ==/UserScript==
- document.body.addEventListener('click', function (e) {
- var targ = e.target || e.srcElement;
- if (targ && targ.href && targ.href.match('https?://devry.skillport.com')) {
- targ.href = targ.href.replace('https://devry.skillport.com/skillportfe/main.action?assetid=$%7BBookID%7D', 'http://skillport.books24x7.com/toc.aspx?bkid=');
- }
- });