Greasy Fork

USO - Force site's normal design

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

目前为 2023-02-24 提交的版本。查看 最新版本

作者
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.