TBD: TorrentBD Theme Engine

Customize the theme/colors of the TorrentBD website. Supports both light mode and dark mode.

這裡顯示腳本的所有版本。 只顯示彼此間有代碼差異的版本。

  • v0.24 2022-03-05

    Additional changes to colors, especially for seed, leech, and completed texts. Original theme switch toggle is now hidden through CSS, which is then replaced by JS. So, the original button is never visible.

  • v0.23 2022-03-01

    Updated some CSS classes with JS to improve appearance. Because all JS changes now take place during the "interactive" session, everything looks as though they just finished loading.

  • v0.22 2022-03-01

    Adjusted several color factors in both light and dark themes. It's mainly going to be color changes until I've got all the colors done. Since it's two themes together now, it'll take a while.

  • v0.21 2022-02-28

    Added rounded edges to various img tags.

  • v0.2 2022-02-28

    In v0.1 of the script, only the CSS for the active theme would be loaded. Hence, the CSS for light mode wouldn't be present if dark mode is active. With v0.2, both CSS are present all the time. Here, the non-active CSS is disabled by default, so the colors don't clash. But because the non-active CSS is still available and loaded, the script can toggle between them without the need for a refresh.

    Fixed some padding issues on mobile. Added a resident JS tag for easier usage of onclick JS. Added hide/show tags to the theme toggle, so it changes with CSS instead of JS. Also fixed the first load issue.

    First load issue: When the script is installed for the first time, it cannot know which theme is active (dark/light) before the website loads. Hence, neither themes will be applied on first load. Instead, the script will determine the active theme and refresh the page once. Unless cookies are erased, this will not happen again.

  • v0.1 2022-02-26

顯示所有腳本版本

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址