Greasy Fork is available in English.

New Reddit Hot Redirect

Redirects default frontpage from 'best' to 'hot' and entire site to new.reddit.com

Cài đặt script này?
Script được tác giả gợi ý

Bạn có thế thích General URL Cleaner Revived

Cài đặt script này
// ==UserScript==
// @name        New Reddit Hot Redirect
// @namespace   https://greasyfork.org/en/users/594496-divided-by
// @author      dividedby
// @description Redirects default frontpage from 'best' to 'hot' and entire site to new.reddit.com
// @version     1.2
// @license     GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @contributionURL     https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dividedbyerror@gmail.com&item_name=Reddit+Redirect+Donation
// @contributionAmount  $1
// @include     /^https:\/\/[a-z0-9.]*\.?reddit.com/
// @run-at      document-start

// ==/UserScript==

(function () {
  const currentHost = window.location.hostname;
  const currentPath = window.location.pathname;

  if (currentHost === "www.reddit.com") {
    window.location.replace(`https://new.reddit.com${currentPath}`);
  } else if (currentHost.endsWith(".reddit.com") && currentPath === "/") {
    window.location.replace(`${window.location.origin}/hot`);
  }
})();