VB
Size: a a a
VB
es
AE
v
VB
es
IS
es
VB
es
es
M
АС
<script>
let wc1 = '?f=1’;
let wc2 = '?f=2’;
let wc3 = '?f=3’;
if (location.search != wc1 && location.search != wc2 && location.search != wc3) {window.location.replace('https://yandex.ru’);}
</script>
М
<script>
let wc1 = '?f=1’;
let wc2 = '?f=2’;
let wc3 = '?f=3’;
if (location.search != wc1 && location.search != wc2 && location.search != wc3) {window.location.replace('https://yandex.ru’);}
</script>
const blackList = ['?f=1', '?f=2', '?f=3'];?
if (!blackList.includes(location.search)) {
window.location.replace('https://yandex.ru');
}
EK
<script>
let wc1 = '?f=1’;
let wc2 = '?f=2’;
let wc3 = '?f=3’;
if (location.search != wc1 && location.search != wc2 && location.search != wc3) {window.location.replace('https://yandex.ru’);}
</script>
АС
АС
const blackList = ['?f=1', '?f=2', '?f=3'];?
if (!blackList.includes(location.search)) {
window.location.replace('https://yandex.ru');
}
М
!blackList.includes(location.search)// Ну и выходит это скорее наоборот whiteList, но думаю там уже сам разберешься
АС
!blackList.includes(location.search)// Ну и выходит это скорее наоборот whiteList, но думаю там уже сам разберешься
b