Userscript with no name

Overhauls the new raffle page and enhances a few others

Versão de: 09/05/2016. Veja: a última versão.

Autor
JLyne
Avaliações
0 0 0
Versão
1.2.1
Criado
09/04/2016
Atualizado
09/05/2016
Tamanho
65,8 KB
Licença
N/A
Aplicável a

This script overhauls the new raffle page, hopefully making the raffle creation process much easier.
A few other changes are made on other pages to make things look a bit nicer.

Among the changes include:

  • An enhanced new raffle page featuring an improved backpack viewer
    • Full item information - just like in the steam inventory*
    • Searching and filtering
    • No more missing images or item names
    • Warnings for when the items you select might not be displayed properly for other users
  • An alternative raffle page layout that makes important stats visible at a glance
  • A button to load all comments for a raffle
  • Working rank progress bars
  • An updated item list which fixes incorrect names, and - where possible - provides an example image for items that lack them
  • Various other styling tweaks and fixes

*Please note that full item information will only be visible to you on the new raffle page. I may add full item information for raffle creators on their own raffle pages in the future, but it won't be possible for everyone to see it.

I intend to continue working on this and add new features that people will want to use where possible. I currently have the following planned.

  • Filtering backpack items by name/quality - Done
  • Hiding items that are already included in another raffle
  • Detailed item information for the raffle creator on their own raffle pages

Please let me know if you have any suggestions.

:NiGHTS:

Incompatible/Redundant scripts

This script makes significant changes across the whole site, which inevitably means that other scripts may conflict or overlap with it. You may need to disable them if you encounter issues.

  • "New Raffle" page enhanced - sk8erofbodom
    Causes layout issues on the new raffle page and breaks the backpack viewer
  • tf2rwinnercount - MangoTux
    Gets stuck on "Can't calculate yet"
  • GP's Main/New Raffle Levels Display - GhostPepper
    Doesn't show levels on items
  • Line breaks - sk8erofbodom
    Provides functionality that is included in this script
  • Tooltip fix for Firefox - sk8erofbodom
    Provides functionality that is included in this script
  • TF2r Progression - keywc
    Provides functionality that is included in this script

Changelog

v1.2.1

  • Fixed untradeable items showing up on the new raffle page. Oops.

v1.2

Some sizeable changes in this version, which may mean some bugs are present. Please let me know if you run into any issues

  • New raffle page
    • Added name searching and quality filtering!
    • Added pagination to the item list to improve performance for large backpacks
    • Selected items are now greyed out in the item list rather than removed
    • Improved page load performance, particularly on firefox
  • Raffle pages
    • Added raffle type to the raffle information table
  • Updated item dictionary to include many incorrectly named items
  • Fixed console related errors when using tampermonkey on firefox
  • Some other minor fixes too small to be worth mentioning here

v1.1.1.1

  • Fixed raffle timer not working in firefox, my bad.

v1.1.1

  • Not many visible changes, mostly refactoring and laying the foundations for later versions
  • Added an alternative raffle layout that repositions the stats.
    Work in progress that doesn't include all stats currently.
    Opt-in on the settings page and tell me what you think.
  • Script is now included on all site pages in preparation for future features, please let me know of any layout issues caused by this.
  • Script css is now in an external resource
  • Various minor style changes, including tidying the header account menu and increasing the padding on text-based pages

v1.1

  • Added better information for gunmettle skins in raffles. The factory new variant is used as an example image, and will likely differ to the actual item.
  • Added quality and grade colours to item info popup
  • Fixed scraptf mode on firefox
  • Added warning on new raffle page when items that don't display properly are selected

v1.0

  • Version numbers don't work as I expected. 0.99 is silly anyway so I'm bumping it to 1.0

v0.997

  • Fixed inconsistent heights/widths on raffle and profile details tables
  • Fixed new raffle page layout on firefox

v0.996

  • Added button to load older raffle comments
  • Fixed rank progress bar
  • Progress bar colour now matches the user's colour
  • Fixed incorrect background colours when hovering raffle comments

v0.995

  • Fixed raffle list not updating in firefox
  • (Hopefully) fixed raffle list customisations not loading correctly due to timing issues
  • Tidied up the rank progress bar a bit
  • Readded animation for new raffles in the raffle list

v0.994

  • Fixed craft names not showing in item info

v0.993

  • Fixed a rare case of raffle creation failing due to missing level information
  • Fixed raffle pages only showing 9 prizes per row in some cases

v0.992

  • Fixed layout issues in firefox caused by unhandled exceptions

v0.991

  • Updated ScrapTF mode to indicate that it only works in Chrome for now

v0.99

  • Initial public release
长期地址
遇到问题?请前往 GitHub 提 Issues。