Add The Verge to JS-less handlers

This commit is contained in:
Thomas Rogers 2024-11-28 15:08:23 +01:00
parent 685f5421c3
commit be7102bab1

View file

@ -10,7 +10,12 @@ export class RawContentHandler extends ContentHandler {
shouldPreHandle(url: string): boolean {
const u = new URL(url)
const hostnames = ['medium.com', 'fastcompany.com', 'fortelabs.com']
const hostnames = [
'medium.com',
'fastcompany.com',
'fortelabs.com',
'theverge.com',
]
return hostnames.some((h) => u.hostname.endsWith(h))
}