A script that skips antenna sites with minimal writing. The number of supported sites is increased according to my needs.
当前为
// ==UserScript==
// @name minimumAntennaSkipper
// @name:ja minimumAntennaSkipper(なるべく最小の記述でアンテナをスキップするスクリプト)
// @namespace minimumAntennaSkipper
// @version 0.1.3
// @description A script that skips antenna sites with minimal writing. The number of supported sites is increased according to my needs.
// @description:ja 最低限の記述でアンテナサイトをスキップするスクリプトです。対応サイトは、自分の必要に応じて増やしています。
// @author iHok
// @match http*://*/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const eArr = [
["//url","//target"],
["news-choice.net","#article-block [data-type=\"catchy\"] .entry-title a"],
["the-3rd.net","[style=\"background-color:rgb(231, 222, 220);\"]"],
["tokkaban.com",".blogroll .container #blogroll-content li.current a"],
["nullpoantenna.com","a.feed-click"],
["news.owata-net.com","#headline_block .headline .active .title a"],
["blog-news.doorblog.jp/archives/",".title_link"],
["moudamepo.com",".pickup"],
["get2ch.net","[style=\"color:#F55;font-weight:bold;\"]"],
["2channeler.com",".pickup"],
["newyaku.blog.fc2.com","#pickupnews .title_link_a"],
["2ch-c.net","[style=\"color:#d14 !important;\"]"],
["newmofu.doorblog.jp",".title_link a .linktitle, .title_link a:visited .linktitle, .title_link a:before"],
["matomeantena.com","#feed .main-box .list li.current a"],
["kaigai-antenna.com",".post.target a"]];
const eX = document.querySelector(eArr[eArr.findIndex(([x]) => x === location.host)][1]);
if(eX)location.href=eX?.href||eX?.parentNode.href;
})();