TBD: TorrentBD Theme Engine

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

Dit zijn versies van het script waarin de code is bijgewerkt. Alle versies tonen.

  • v0.3559 20-06-2022

    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 19-06-2022

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

  • v0.3557 19-06-2022

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

  • v0.3556 19-06-2022

    Fixed a hover issue on station css.

  • v0.3555 19-06-2022

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

  • v0.3554 19-06-2022

    Updated scrollbar CSS to support edge and chrome.

  • v0.3553 19-06-2022

    Updated how the strings work in the engine station.

  • v0.3552 19-06-2022

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

  • v0.3551 18-06-2022

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

  • v0.3550 18-06-2022

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

  • v0.3549 18-06-2022

    Changed night and day icons for the engine station.

  • v0.3548 18-06-2022

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

  • v0.3547 17-06-2022

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

  • v0.3546 15-06-2022

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

  • v0.3545 14-06-2022

    Updated default dark colors a bit.

  • v0.3544 12-06-2022

    Updated the colors for sub heading in profile.

  • v0.3543 11-06-2022

    More curved corners for images.

  • v0.3542 11-06-2022

    Updated the border-radius of poll options.

  • v0.3541 11-06-2022

    Updated a minor mistake with color choice.

  • v0.3540 11-06-2022

    Update how the localstorage info is called into the variables.

  • v0.3539 09-06-2022

    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 09-06-2022

    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 09-06-2022

    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 08-06-2022

    Updated the color of the spoiler button in forums.

  • v0.3535 07-06-2022

    Fixed button colors in the support section.

  • v0.3534 07-06-2022

    Updated some color values.

  • v0.3533 05-06-2022

    Updated some color values.

  • v0.3532 04-06-2022

    Updated menu text colors for mobile navigation.

  • v0.3531 04-06-2022

    Minor css updates to some buttons and button colors.

  • v0.3530 04-06-2022

    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 03-06-2022

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

  • v0.3528 01-06-2022

    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 20-05-2022

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

  • v0.3526 20-05-2022

    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 13-05-2022

    Increased the brute forcing pendulum interval from 1 to 10.

  • v0.3524 13-05-2022

    Added some scroll margin top.

  • v0.3523 13-05-2022

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

  • v0.3522 10-05-2022

    Updated the hr color for light mode.

  • v0.3521 07-05-2022

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

  • v0.3520 07-05-2022

    Updated button color for H&R.

  • v0.3519 06-05-2022

    Minor changes to the button border CSS.

  • v0.3518 06-05-2022

    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 05-05-2022

    Updated background color of comments in the news section.

  • v0.3516 05-05-2022

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

  • v0.3515 04-05-2022

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

  • v0.3514 04-05-2022

    Updated the button colors in the torrent download page.

  • v0.3513 03-05-2022

    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 03-05-2022

    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 01-05-2022

    Switched from observing document body to document title.

  • v0.3510 29-04-2022

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

Alle scriptversies tonen