USO - Force site's normal design

Forces userstyles.org to display the pages using the old design

目前為 2023-02-24 提交的版本,檢視 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Achernar
評價
0 0 0
版本
0.1
建立日期
2023-02-24
更新日期
2023-02-24
尺寸
984 位元組
授權條款
未知
腳本執行於

"userstyles.org" has currently 2 versions for its website.

While the new design is still in test, the previous one is still available. The choice is driven by the value of a cookie. When your browser doesn't have one set yet, the layout is chosen randomly.
Since late february 2023, the randomness falls on the novelty side. Hence this userscript.

If your browser is set to refuse cookie from userstyles.org the trick won't work.

When the userscript runs it checks if the cookie exists, and if it is for the new design, sets the "correct" value and reloads the page. A safeguard has been put to prevent a loop of redirects once USo removes the old design and forces the value of the cookie.