Skip to content

Instantly share code, notes, and snippets.

@fanzeyi
Last active July 10, 2018 23:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fanzeyi/2576109bee9112e8ca2ca1c39a7e5c3e to your computer and use it in GitHub Desktop.
Save fanzeyi/2576109bee9112e8ca2ca1c39a7e5c3e to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Reshare to Rebroadcast
// @namespace https://zr.is
// @version 0.1.1
// @description Make Douban great again!
// @author Zeyi Fan
// @match https://www.douban.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.querySelectorAll(".reshared_hd .text, .btn-reshare, .reshared_by, .new-reshare, a[href$=\"reshare#reshare\"], a[href$=\"reshare#reshares\"], #content .aside h2, .btn-action-reply-delete, .dialog-reshare .hd > h3").forEach((el) => {
el.innerHTML = el.innerHTML.replace("转发", "转播");
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment