Greasy Fork is available in English.

SteamGifts: Look for Similar

Adds buttons to search for similar giveaways and removes redirect from existing links.

Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.

  • v4.3 18-09-2020 And a bit more cleanup.
  • v4.2 18-09-2020 And code beautifier pass.
  • v4.1 18-09-2020 A bit more refactoring. Previous revision consists of refactoring and added feature of redirect remover.
  • v4.0 18-09-2020
  • v3.7 09-12-2016 Removed "app=" from detector of native LFS button to make it work for "sub=" and others as well.
  • v3.6 28-11-2016 Missed case when LFS button were shown inside of a giveaway.
  • v3.5 28-11-2016 Updated code to support native LFS link. Also, added option "Local" in the "Won" list to check if won a second copy by mistake.
  • v3.4 16-10-2016 Compatibility fix for https://greasyfork.org/scripts/23859-sg-entered-giveaway-page/
  • v3.3 29-09-2016 Added support for steamcommunity links in RaCharts as well.
  • v3.2 29-09-2016 +nowrap, to make sure menu text won't wrap.
  • v3.1 29-09-2016 Replaced width for menu with min-width, added min-width to menu items.
  • v3.0 29-09-2016 Rewritten big portion of the script. Now LFS button won't "explode" in width on hover and will display drop-down menu instead. Added support for LFS links for RACharts (example: https://www.steamgifts.com/discussion/F7fgE/bundle-stars-gamepedia-anniversary-bundle )
  • v2.1 26-04-2016 Removed 1 debug line and cleaned up the rest a bit.
  • v2.0 26-04-2016 Added support for search options. Now it's possible to choose search location from a list.
  • v1.7 13-04-2016 Forgot about 'https' protocol in the @match section and as the result script stopped to work when site moved to https.
  • v1.6 11-03-2016 It looks pointless to search for similar titles on the "Won" page, but it could be useful to search for the same giveaways in the "Entered"section to remove them if they are active.
  • v1.5 10-03-2016 Better SG++ compatibility and fix for search results in the new giveaway drop-down list (not sure if it's useful there, though).
  • v1.4 06-03-2016 Fixed link detector in appendLFSLink function.
  • v1.3 06-03-2016 Fixed case when search yielded no results for the long titles due to the ellipsis in the end.
  • v1.2 06-03-2016 Removed default parameter trick from one more place to avoid compatibility issues. Modified links to work without click handler for middle-click support (maybe implement middleclick handler?)
  • v1.1 05-03-2016 If header is a link then only /giveaway/ links have to be parsed. Also, there are edge cases when header is not a link, but contains one (like on giveaway winners page).
  • v1.0 05-03-2016 Restored A element and generation of HREF value for that element removed in a previous commit - were useful in my "Open in pop-in" script.
  • v0.9 05-03-2016 Made LFM script a bit more generic. It should also work with SGPP now and shouldn't fail in browsers without function default value support (some Mac versions of popular browsers).
  • v0.8 02-03-2016 Enabled LFS button on search pages because manual search may return different results and LFS button could be used to refine them. Also entered/created/won giveaways pages are using search to load next pages.
  • v0.7 02-03-2016 Added LFS button to featured giveaways (useful to search for similar giveaways from a giveaway page);
  • v0.6 02-03-2016 Made LFS button generic. Now it should also work on created, entered and won lists. Restricted list of pages where script should work to avoid adding LFS buttons on forum and trades.
  • v0.5 23-02-2016
  • v0.4 23-02-2016 Oops! Forgot to remove console.log from code. -_-
  • v0.3 17-02-2016 Added support for dynamically added giveaway blocks (autopaging in various SG extensions), search link shouldn't appear on the invite-only giveaways.
  • v0.2 17-02-2016 Removed two class names, copied over from the other button.
  • v0.1 17-02-2016