Skip to content

Fix bookmarklet for Firefox users.#15

Open
ovn-is wants to merge 1 commit into
gurnec:masterfrom
ovn-is:fix-bookmarklet
Open

Fix bookmarklet for Firefox users.#15
ovn-is wants to merge 1 commit into
gurnec:masterfrom
ovn-is:fix-bookmarklet

Conversation

@ovn-is
Copy link
Copy Markdown

@ovn-is ovn-is commented Mar 6, 2025

In firefox, if the bookmarklet returns something, the page contents will be replaced by it.
In this case, the bookmarklet returns a Window object, replacing the original contents with "[object Window]".
Source: https://stackoverflow.com/questions/2774453

In firefox, if the bookmarklet returns something, the page contents will be replaced by it. In this case, the bookmarklet returns a Window object, replacing the original contents with "[object Window]".
Source: https://stackoverflow.com/questions/2774453
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.

1 participant