Skip to content

Listings: restore cached results in browsers that no longer fire unload - #3187

Merged
tellyworth merged 1 commit into
trunkfrom
fix/restore-cached-results
Nov 16, 2026
Merged

tellyworth merged 1 commit into
trunkfrom
fix/restore-cached-results

Conversation

@tellyworth

@tellyworth tellyworth commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #3184

Changes Proposed in this Pull Request

  • The cached results of [jobs] are cleared on pagehide instead of unload, which some browsers no longer fire.
  • updated_results is now triggered when results are restored from the cache, as it is when they are loaded. Extensions that fill in parts of the page from that event were left empty after returning with the Back button.

Testing Instructions

  • Open a page with [jobs], click a listing, press Back: the results are restored and updated_results fires (with Job Tags active, the tag filter is filled in).
  • Open the page, go somewhere else without clicking a listing, come back: the results are loaded fresh.

Release Notes

  • Fix: Update extensions' filters when job results are restored after using the browser's Back button, and clear cached results in browsers that no longer fire unload.

Plugin build for c27df3b
📦 Download plugin zip
▶️ Open in playground

Clear the cached results on pagehide, and trigger updated_results when results are restored from the cache, so
extensions that fill in parts of the page from the results are updated too.

Fixes #3184

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@tellyworth tellyworth added this to the 2.4.12 milestone Nov 16, 2026
@tellyworth
tellyworth merged commit 28c048c into trunk Nov 16, 2026
9 checks passed
@tellyworth
tellyworth deleted the fix/restore-cached-results branch November 16, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chrome 155+ no longer fires  unload , so cached results are restored without triggering  updated_results  (breaks Job Tags filter)

1 participant