Greasy Fork 还支持 简体中文。

Douban_simple_version

A simple version for Douban website. Now the work is focused on movie subject.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @description A simple version for Douban website. Now the work is focused on movie subject. 
// @name Douban_simple_version
// @run-at document-start
// @match https://movie.douban.com/subject/*
// @version 0.0.1.20170816183917
// @namespace https://greasyfork.org/users/147405
// ==/UserScript==

// A script to simplify movie page on douban.com

// Locate Score Section
var score = document.getElementById("interest_sectl")
var button_score = document.createElement("input")

// Hide Score Section
score.style.visibility = "hidden"

// Create Button for Score Section
button_score.type = "button"
button_score.value = "展开评分"
button_score.onclick = function() {
	showScore(score, button_score)
}
score.parentNode.insertBefore(button_score, score)

function showScore(score, button_score) {
	score.style.visibility = "visible"
	button_score.value = "收起评分"
	button_score.onclick = function() {
		hideScore(score, button_score)
	}
}

function hideScore(score, button_score) {
	score.style.visibility = "hidden"
	button_score.value = "展开评分"
	button_score.onclick = function() {
		showScore(score,button_score)
	}
}