diff --git a/index.ts b/index.ts index ff3e1f6b..31296436 100644 --- a/index.ts +++ b/index.ts @@ -377,6 +377,13 @@ collect.set('isRepoMainSettings', [ 'https://github.com/sindresorhus/refined-github/settings', ]); +export const isUserSettings = (url: URL | HTMLAnchorElement | Location = location): boolean => url.pathname.startsWith('/settings/'); +collect.set('isUserSettings', [ + 'https://github.com/settings/profile', + 'https://github.com/settings/replies', + 'https://github.com/settings/replies/88491/edit', +]); + export const isRepliesSettings = (url: URL | HTMLAnchorElement | Location = location): boolean => url.pathname.startsWith('/settings/replies'); collect.set('isRepliesSettings', [ 'https://github.com/settings/replies',