TBD: TorrentBD Theme Engine

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

코드가 바뀐 버전들입니다. 모든 버전 보기

  • v0.3559 2022-06-20

    Added an option to show a qr code in the share page. This way, custom themes can be quickly moved to mobile devices. This button is not visible on phones.

  • v0.3558 2022-06-19

    Updated the js and html of station a bit. The category filter doesn't show suggestions anymore.

  • v0.3557 2022-06-19

    Attempt to fix a vh related bug on chrome android. Let's see.

  • v0.3556 2022-06-19

    Fixed a hover issue on station css.

  • v0.3555 2022-06-19

    Updated the preview SVG a little to perform better on chromium.

  • v0.3554 2022-06-19

    Updated scrollbar CSS to support edge and chrome.

  • v0.3553 2022-06-19

    Updated how the strings work in the engine station.

  • v0.3552 2022-06-19

    Changed button text stark to button text hover as that makes more sense.

  • v0.3551 2022-06-18

    More color update. Legend, Star Uploader, and changed Wizard a bit.

  • v0.3550 2022-06-18

    Updated the colors of MVP and Wizard to not use gradient anymore. Gradient was causing some issues.

  • v0.3549 2022-06-18

    Changed night and day icons for the engine station.

  • v0.3548 2022-06-18

    Updated the error color for when you've already upvoted something.

  • v0.3547 2022-06-17

    With this version, the theme engine is practically complete. But there are several more things to do before publishing this.

  • v0.3546 2022-06-15

    Massive update on the engine station deployment code. It's not done yet, but renders fine for now.

  • v0.3545 2022-06-14

    Updated default dark colors a bit.

  • v0.3544 2022-06-12

    Updated the colors for sub heading in profile.

  • v0.3543 2022-06-11

    More curved corners for images.

  • v0.3542 2022-06-11

    Updated the border-radius of poll options.

  • v0.3541 2022-06-11

    Updated a minor mistake with color choice.

  • v0.3540 2022-06-11

    Update how the localstorage info is called into the variables.

  • v0.3539 2022-06-09

    Reworked the config page a bit. The about info are a little smaller in font, less text as well.

    It's now possible to change the default font of TorrentBD from the config panel.

  • v0.3538 2022-06-09

    Massive changes to the theme engine station. Though that code isn't here right now. For the code that's here, it's now possible to modify the color of the category images. Also revoked the previous changes to how localstorage was used for engine station.

  • v0.3537 2022-06-09

    Updated several color values, hover values, and updated how the FAQ section interacts.

    Also updated the engine station code. It will now load from localstorage by default and update the code in the localstorage automatically after loading is completed. So, each subsequent refresh loads the latest code without causing any delay for the user.

  • v0.3536 2022-06-08

    Updated the color of the spoiler button in forums.

  • v0.3535 2022-06-07

    Fixed button colors in the support section.

  • v0.3534 2022-06-07

    Updated some color values.

  • v0.3533 2022-06-05

    Updated some color values.

  • v0.3532 2022-06-04

    Updated menu text colors for mobile navigation.

  • v0.3531 2022-06-04

    Minor css updates to some buttons and button colors.

  • v0.3530 2022-06-04

    Added an active state declaration to all hover state declarations. This is because the hover state does not work on phones how it does on the desktop because there is no cursor. The usual hover state is slow to appear and sometimes will not appear at all if the page is redirecting. The active state is quicker and reacts to taps well. The experience on the desktop site should remain the same.

    Added a return clause to the pendulum to hopefully speed up the brute forcing.

    Updated the default themes for light and dark a bit.

  • v0.3529 2022-06-03

    Some changes to the default colors. 12 instead of 10 now. I might be making some radical changes in the following versions.

  • v0.3528 2022-06-01

    Updated how the theme loading works. Simplified the JS conditions a bit. Theme set to dark at the start of the script if no theme already found in localStorage.

  • v0.3527 2022-05-20

    Updated the color values for nav buttons in mobile view. Updated transition delay for kuddus search.

  • v0.3526 2022-05-20

    Swapped sessionStorage with localStorage and added a version number to the engine station. Now the engine station will only refetch the source code when the version number updates. Otherwise, it will simply display from localStorage.

  • v0.3525 2022-05-13

    Increased the brute forcing pendulum interval from 1 to 10.

  • v0.3524 2022-05-13

    Added some scroll margin top.

  • v0.3523 2022-05-13

    Rearranged things a bit. Dark theme is default in the main instance.

  • v0.3522 2022-05-10

    Updated the hr color for light mode.

  • v0.3521 2022-05-07

    I don't really know what I changed. Must not be anything important. Check against the last version to confirm.

  • v0.3520 2022-05-07

    Updated button color for H&R.

  • v0.3519 2022-05-06

    Minor changes to the button border CSS.

  • v0.3518 2022-05-06

    So the last thing I tried to fix the delay on phone worked. It basically brute forced the CSS into the head regardless of whether the head existed or not, and once the head finished loading, it stopped the brute forcing, added the CSS properly at the end of head, and then deleted any CSS previously inserted with the brute forcing tactic. This isn't the nicest solution, but it's working.

    With this version, several color values are updated. I've introduced button color and button color stark to allow more possibilities for future. Appearance remains unchanged. Also, the theme engine station where users can customize colors is now fetched from my github repo. The script stores everything in sessionStorage so that the loading time is not great for every refresh. This is different from localStorage because it expires every time the browser is closed. So, the value in sessionStorage will be updated once every time the browser is newly opened and the engine station is visited.

  • v0.3517 2022-05-05

    Updated background color of comments in the news section.

  • v0.3516 2022-05-05

    Another attempt to fix the mobile delay since the last effort didn't work.

  • v0.3515 2022-05-04

    Transition for buttons now 0.3s instead of 0.45s. New color changes.

  • v0.3514 2022-05-04

    Updated the button colors in the torrent download page.

  • v0.3513 2022-05-03

    The last update fixed the clash between mutation observer and onreadystatechange, but there was still a slight delay when using the script on my phone. I'm using a temporary CSS declare as fast as possible and then declaring it again after head has finished loading. The first declaration is then automatically cleared from head. This should fix the delay. I'll confirm on the next update.

  • v0.3512 2022-05-03

    So the mutation observer and the onreadystatechange functions don't work well together. That was causing some issues with my code ever since I implemented the mutation observer. I have reworked the arrangement of nearly everything. It should be fixed now.

  • v0.3511 2022-05-01

    Switched from observing document body to document title.

  • v0.3510 2022-04-29

    I'm putting too much energy into this. Heh.
    Updated colors and stuff for the search thingy.

모든 스크립트 버전 보기