SearchFox Search Result Copy

Injects buttons to the left of searchfox.org results, allowing for a one-click copy of the <path>:<line> of the location of the result.

Author
bytesized
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
1.03
Created
2025-03-02
Updated
2025-03-02
Size
6.39 KB
License
MIT https://mit-license.org/
Applies to

This script injects "copy" buttons into searchfox.org, just to the left of the search result line numbers. Pressing a button copies file and line number (separated by a :) of the search result to the paste buffer and, once the copy has succeeded, turns the copy icon into a checkmark. This can be quite useful when doing things like changing the signature of a widely used function. Just search for the function and go down the list. Copy each usage location into the paste buffer, paste it into the navigation utility of your editor/IDE, change the invocation, and repeat. The checkmarks even make it easy to avoid losing your place.