We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isUserSettings
1 parent 3a2fddf commit a18db82Copy full SHA for a18db82
index.ts
@@ -377,6 +377,13 @@ collect.set('isRepoMainSettings', [
377
'https://github.com/sindresorhus/refined-github/settings',
378
]);
379
380
+export const isUserSettings = (url: URL | HTMLAnchorElement | Location = location): boolean => url.pathname.startsWith('/settings/');
381
+collect.set('isUserSettings', [
382
+ 'https://github.com/settings/profile',
383
+ 'https://github.com/settings/replies',
384
+ 'https://github.com/settings/replies/88491/edit',
385
+]);
386
+
387
export const isRepliesSettings = (url: URL | HTMLAnchorElement | Location = location): boolean => url.pathname.startsWith('/settings/replies');
388
collect.set('isRepliesSettings', [
389
'https://github.com/settings/replies',
0 commit comments