您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically shows all page for Kompas.com.
- // ==UserScript==
- // @name Show All Kompas.com
- // @namespace https://greasyfork.org/en/users/221437
- // @version 0.3
- // @description Automatically shows all page for Kompas.com.
- // @author channelorange
- // @match *://*.kompas.com/*
- // @match *://*.tribunnews.com/*
- // @match *://*.gridoto.com/*
- // @exclude *://www.kompas.com/
- // @exclude *://www.tribunnews.com/
- // @exclude *://www.gridoto.com/
- // @run-at document-start
- // @grant none
- // @compatible chrome
- // @compatible firefox
- // ==/UserScript==
- if (window.location.href.toString().indexOf("?page=all") != -1) return false;
- var pathLama = window.location.pathname;
- if (!/\?page=all$/.test(pathLama)) {
- var pathBaru = pathLama + "?page=all";
- window.location.replace(pathBaru);
- }