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.
isPasswordConfirmation
1 parent 5947005 commit 63da633Copy full SHA for 63da633
index.ts
@@ -15,6 +15,8 @@ export const is404 = (): boolean => document.title === 'Page not found · GitHub
15
16
export const is500 = (): boolean => document.title === 'Server Error · GitHub' || document.title === 'Unicorn! · GitHub' || document.title === '504 Gateway Time-out';
17
18
+export const isPasswordConfirmation = (): boolean => document.title === 'Confirm password' || document.title === 'Confirm access';
19
+
20
export const isBlame = (url: URL | HTMLAnchorElement | Location = location): boolean => Boolean(getRepo(url)?.path.startsWith('blame/'));
21
collect.set('isBlame', [
22
'https://github.com/sindresorhus/refined-github/blame/master/package.json',
0 commit comments