1337x – Steam Hover Preview

On-hover Steam thumbnail & description for 1337x torrent titles (cleans up names for better matches)

目前为 2025-04-24 提交的版本。查看 最新版本

这些是代码更新过的版本。 显示所有版本

  • v2.8 2025-04-26

    2.8

    • Lock tooltip at the final hover point once Steam data has loaded
    • Enable pointer events inside the tooltip so you can hover and interact with it
    • Add a direct “Open on Steam” link inside the hovercard for quick access

    2.5

    • Displays star rating (e.g., ★★★★☆ based on percentage or description), text description (e.g., “Mostly Positive”, “Mixed”), and the total review count (if available) directly in the tooltip
    • Implemented much more aggressive and comprehensive logic to remove extraneous information like years (YYYY), scene/repacker tags (CODEX, FitGirl, etc.), various editions (GOTY, Deluxe, Remastered, VR), common prefixes (The, Sid Meier’s), update/build numbers, and keywords like soundtrack, dlc pack, multiplayer crack for more accurate game identification before searching Steam
    • Added new CSS classes (.steamRating, .steamTags, .ratingStars, .ratingText) and styles via GM_addStyle to properly format the new rating section and slightly adjust the overall tooltip appearance (background, border, font)

    2.4

    • Added @downloadURL and @updateURL metadata for automatic GreasyFork updates
    • Introduced tagCache map and TAG_TTL (5-minute freshness window) to cache scraped user tags per title
    • On each fetchSteam call, only re-scrape Steam’s HTML tags if the cached entry is stale (older than TAG_TTL)
    • Prune tagCache entries with existing pruneCache logic to bound memory use
    • Unified returned tags field so showTip always references data.tags

    2.3

    • Reintroduced HTML scraping of up to 5 popular Steam user-defined tags from the store page as primary tag source
    • Fallback to Steam JSON API (data.genres & data.categories) only when no scraped tags are found
    • Updated fetchSteam to perform both scraping and API fetch in one call
    • Adjusted tooltip logic to prefer scraped tags over API genres/categories

    2.2

    • Switched tag source to Steam JSON API (data.genres & data.categories) instead of HTML scraping
    • Removed the old fetchTags() scraper and its overhead
    • Simplified caching to a single apiCache map

    2.0

    • Fixed tooltip clipping at the viewport edges by recalculating its size before positioning

    1.9

    • Implemented promise-level caching to dedupe simultaneous Steam lookups
    • Added a rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduced pruning for apiCache (RU-style) to bound memory use
    • Switched to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Moved all tooltip CSS into a single GM_addStyle block for easier overrides
    • Replaced raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST”/“soundtrack”/“demo” titles to skip unnecessary lookups
    • Added @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scraped up to 5 popular Steam user-defined tags from the store page
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v2.7 2025-04-25
  • v2.6 2025-04-25
  • v2.5 2025-04-25
  • v2.5 2025-04-25

    2.5

    • Displays star rating (e.g., ★★★★☆ based on percentage or description), text description (e.g., "Mostly Positive", "Mixed"), and the total review count (if available) directly in the tooltip
    • Implemented much more aggressive and comprehensive logic to remove extraneous information like years (YYYY), scene/repacker tags (CODEX, FitGirl, etc.), various editions (GOTY, Deluxe, Remastered, VR), common prefixes (The, Sid Meier's), update/build numbers, and keywords like soundtrack, dlc pack, multiplayer crack for more accurate game identification before searching Steam
    • Added new CSS classes (.steamRating, .steamTags, .ratingStars, .ratingText) and styles via GM_addStyle to properly format the new rating section and slightly adjust the overall tooltip appearance (background, border, font)

    2.4

    • Added @downloadURL and @updateURL metadata for automatic GreasyFork updates
    • Introduced tagCache map and TAG_TTL (5-minute freshness window) to cache scraped user tags per title
    • On each fetchSteam call, only re-scrape Steam’s HTML tags if cached entry is stale (older than TAG_TTL)
    • Prune tagCache entries with existing pruneCache logic to bound memory use
    • Unified returned tags field so showTip always references data.tags

    2.3

    • Reintroduced HTML scraping of up to 5 popular Steam user-defined tags from the store page as primary tag source
    • Fallback to Steam JSON API (data.genres & data.categories) only when no scraped tags are found
    • Updated fetchSteam to perform both scraping and API fetch in one call
    • Adjusted tooltip logic to prefer scraped tags over API genres/categories

    2.2

    • Switched tag source to Steam JSON API (data.genres & data.categories) instead of HTML scraping
    • Removed the old fetchTags() scraper and its overhead
    • Simplified caching to a single apiCache map

    2.0

    • Fixed tooltip clipping at the viewport edges by recalculating its size before positioning

    1.9

    • Implemented promise-level caching to dedupe simultaneous Steam lookups
    • Added a rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduced pruning for apiCache (RU-style) to bound memory use
    • Switched to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Moved all tooltip CSS into a single GM_addStyle block for easier overrides
    • Replaced raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST”/“soundtrack”/“demo” titles to skip unnecessary lookups
    • Added @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scraped up to 5 popular Steam user-defined tags from the store page
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v2.4 2025-04-25

    2.4

    • Introduced tagCache map and TAG_TTL (5-minute freshness window) to cache scraped user tags per title
    • Prune tagCache entries with existing pruneCache logic to bound memory use
    • Unified returned tags field so showTip always references data.tags

    2.3

    • Reintroduced HTML scraping of up to 5 popular Steam user-defined tags from the store page as primary tag source
    • Fallback to Steam JSON API (data.genres & data.categories) only when no scraped tags are found
    • Updated fetchSteam to perform both scraping and API fetch in one call
    • Adjusted tooltip logic to prefer scraped tags over API genres/categories

    2.2

    • Switched tag source to Steam JSON API (data.genres & data.categories) instead of HTML scraping
    • Removed the old fetchTags() scraper and its overhead
    • Simplified caching to a single apiCache map

    2.0

    • Fixed tooltip clipping at the viewport edges by recalculating its size before positioning

    1.9

    • Implemented promise-level caching to dedupe simultaneous Steam lookups
    • Added a rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduced pruning for apiCache (RU-style) to bound memory use
    • Switched to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Moved all tooltip CSS into a single GM_addStyle block for easier overrides
    • Replaced raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST”/“soundtrack”/“demo” titles to skip unnecessary lookups
    • Added @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scraped up to 5 popular Steam user-defined tags from the store page
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v2.3 2025-04-24

    2.3

    • Reintroduced HTML scraping of up to 5 popular Steam user-defined tags from the store page as primary tag source
    • Fallback to Steam JSON API (data.genres & data.categories) only when no scraped tags are found
    • Updated fetchSteam to perform both scraping and API fetch in one call
    • Adjusted tooltip logic to prefer scraped tags over API genres/categories

    2.2

    • Switched tag source to Steam JSON API (data.genres & data.categories) instead of HTML scraping
    • Removed the old fetchTags() scraper and its overhead
    • Simplified caching to a single apiCache map

    2.0

    • Fixed tooltip clipping at the viewport edges by recalculating its size before positioning

    1.9

    • Implemented promise-level caching to dedupe simultaneous Steam lookups
    • Added a rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduced pruning for apiCache (RU-style) to bound memory use
    • Switched to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Moved all tooltip CSS into a single GM_addStyle block for easier overrides
    • Replaced raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST”/“soundtrack”/“demo” titles to skip unnecessary lookups
    • Added @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scraped up to 5 popular Steam user-defined tags from the store page
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v2.2 2025-04-24

    Changelog

    2.2

    • Switched tag source to Steam JSON API (data.genres & data.categories) instead of HTML scraping
    • Removed the old fetchTags() scraper and its overhead
    • Simplified caching to a single apiCache map

    2.0

    • Fixed tooltip clipping at the viewport edges by recalculating its size before positioning

    1.9

    • Implemented promise-level caching to dedupe simultaneous Steam lookups
    • Added a rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduced pruning for apiCache (RU-style) to bound memory use
    • Switched to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Moved all tooltip CSS into a single GM_addStyle block for easier overrides
    • Replaced raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST” / “soundtrack” / “demo” titles to skip unnecessary lookups
    • Added @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scraped up to 5 popular Steam user-defined tags from the store page
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v2.1 2025-04-24
  • v2.0 2025-04-24

    2.0

    • Fixed tooltip clipping at the viewport edges: now forces a reflow to recalc size before positioning so it never bleeds off-screen.

    1.9

    • Implement promise-level caching to dedupe simultaneous Steam lookups
    • Add simple rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduce RU-style pruning for both apiCache and tagCache to bound memory use
    • Switch to pointer events (pointerenter/pointerleave) for cleaner hover detection
    • Move all tooltip CSS into one GM_addStyle block for easier overrides
    • Replace raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST” / “soundtrack” / “demo” titles to skip unnecessary lookups
    • Add @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scrapes up to 5 popular Steam user-defined tags and displays them below the description
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
      • 150 ms debounce and in-memory cache
  • v1.9 2025-04-24
  • v1.9 2025-04-24
  • v1.9 2025-04-24

    Changelog

    1.9

    • Implement promise-level caching to dedupe simultaneous Steam lookups
    • Add simple rate limiter (MIN_INTERVAL) to space out GM_xmlhttpRequest calls
    • Introduce LRU-style pruning for both apiCache and tagCache to bound memory use
    • Switch to pointer events (pointerenter / pointerleave) for cleaner hover detection
    • Move all tooltip CSS into one GM_addStyle block for easier overrides
    • Replace raw pointermove handling with a requestAnimationFrame loop for smoother repositioning
    • Early exit on “OST” / “soundtrack” / “demo” titles to skip unnecessary lookups
    • Add @connect steamcdn-a.akamaihd.net so header images load under stricter CSP

    1.8

    • Added community tags: scrapes up to 5 popular Steam user-defined tags and displays them below the description
    • Introduced a unified gmFetch wrapper and improved tag-caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag-fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport-aware tooltip positioning
  • v1.8 2025-04-24

    Changelog

    1.8

    • Added community tags: scrapes up to 5 popular Steam user‐defined tags and displays them below the description
    • Introduced a unified gmFetch wrapper and improved tag‐caching logic

    1.6

    • Expanded @match patterns to cover additional subdomains and the official 1337x .onion address
    • Bumped version to 1.6 for local tag‐fetch testing

    1.4

    • Updated mirror domains under @match to the official list
    • Added @icon metadata for GreasyFork sidebar display
    • Version bump to 1.4

    1.1

    • Reduced debounce from 150 ms → 100 ms for snappier hovers
    • Enhanced cleanName() to strip on Update and Edition delimiters

    1.0

    • Initial GreasyFork release:
      • Instant Steam header + description on hover
      • Title cleaning (version suffixes, repacker/cracker tags, common delimiters)
      • Viewport‐aware tooltip positioning
      • 150 ms debounce and in‐memory cache
  • v1.7 2025-04-24
  • v1.6 2025-04-24
  • v1.5 2025-04-24
  • v1.4 2025-04-24
  • v1.3 2025-04-24
  • v1.3 2025-04-24
  • v1.2 2025-04-24
  • v1.1 2025-04-24
  • v1.1 2025-04-24
  • v1.0 2025-04-24
  • v1.0 2025-04-23