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.
1 parent 530e4fb commit 11e5bcaCopy full SHA for 11e5bca
index.ts
@@ -11,7 +11,7 @@ collect.set('__urls_that_dont_match__', [
11
'https://github.com/sindresorhus/refined-github/issues/templates/edit',
12
]);
13
14
-export const is404 = (): boolean => document.title === 'Page not found · GitHub';
+export const is404 = (): boolean => document.title.startsWith('Page not found · GitHub'); // #98
15
16
export const is500 = (): boolean => document.title === 'Server Error · GitHub' || document.title === 'Unicorn! · GitHub' || document.title === '504 Gateway Time-out';
17
0 commit comments