mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-02 06:26:27 -04:00
improve accessibility
This commit is contained in:
parent
8a44bd11d2
commit
a3da03bee9
12 changed files with 45 additions and 29 deletions
|
@ -261,7 +261,7 @@ function updateCookie(newVolume, newSpeed) {
|
|||
var date = new Date();
|
||||
date.setFullYear(date.getFullYear() + 2);
|
||||
|
||||
var ipRegex = /^((\d+\.){3}\d+|[A-Fa-f0-9]*:[A-Fa-f0-9:]*:[A-Fa-f0-9:]+)$/;
|
||||
var ipRegex = /^((\d+\.){3}\d+|[\dA-Fa-f]*:[\d:A-Fa-f]*:[\d:A-Fa-f]+)$/;
|
||||
var domainUsed = location.hostname;
|
||||
|
||||
// Fix for a bug in FF where the leading dot in the FQDN is not ignored
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue