您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Always set news feed to 'Most Recent'.
当前为
// ==UserScript== // @name Facebook - Force Most Recent // @namespace https://greasyfork.org/users/222319 // @version 1.0.0 // @date 2018-12-24 // @description Always set news feed to 'Most Recent'. // @author Explisam <[email protected]> // @compatible chrome // @compatible firefox // @compatible opera // @compatible safari // @license MIT License <https://opensource.org/licenses/MIT> // @include *://www.facebook.com/ // @include *://www.facebook.com/?* // @run-at document-start // ==/UserScript== (function() { 'use strict'; var url_string = window.location.href; var url = new URL(url_string); var sk = url.searchParams.get("sk"); if (sk !== "h_chr") { window.location.replace("https://www.facebook.com/?sk=h_chr"); } })();