diff options
author | 2023-11-09 12:12:44 -0500 | |
---|---|---|
committer | 2023-11-10 01:12:44 +0800 | |
commit | efac2cd0b633f07d299c21be1665e93f0124f03b (patch) | |
tree | bf7a6388831e0646fcb84b4e889546a6319b4b7d /source/github-helpers/selectors.ts | |
parent | bccc37b757e87ef9c3def6fbb5786ed174600ed8 (diff) | |
download | refined-github-efac2cd0b633f07d299c21be1665e93f0124f03b.tar.gz refined-github-efac2cd0b633f07d299c21be1665e93f0124f03b.tar.zst refined-github-efac2cd0b633f07d299c21be1665e93f0124f03b.zip |
`easy-toggle-files` - Apply to code search (#7036)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/github-helpers/selectors.ts')
-rw-r--r-- | source/github-helpers/selectors.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/github-helpers/selectors.ts b/source/github-helpers/selectors.ts index 453b4bc5..6b121ec8 100644 --- a/source/github-helpers/selectors.ts +++ b/source/github-helpers/selectors.ts @@ -48,3 +48,8 @@ export const actionsTab = '#actions-tab'; export const actionsTab_ = [ 'https://github.com/refined-github/sandbox', ]; + +export const codeSearchHeader = 'div:has(>:is([aria-label^="Collapse "], [aria-label^="Expand "]))'; +export const codeSearchHeader_ = [ + 'https://github.com/search?q=repo%3Arefined-github%2Frefined-github&type=code', +]; |