Fixed a bug in search and maps
This commit is contained in:
parent
1deb226c8a
commit
6e8f9b2f66
|
@ -235,6 +235,9 @@ function initWhoogleCookies() {
|
||||||
function redirect(url) {
|
function redirect(url) {
|
||||||
if (disable) return;
|
if (disable) return;
|
||||||
if (!targets.some((rx) => rx.test(url.href))) return;
|
if (!targets.some((rx) => rx.test(url.href))) return;
|
||||||
|
if (url.searchParams.has('tbm')) return;
|
||||||
|
|
||||||
|
if (!url.searchParams.has('q') && url.pathname != '/') return;
|
||||||
|
|
||||||
let randomInstance;
|
let randomInstance;
|
||||||
let path;
|
let path;
|
||||||
|
|
Loading…
Reference in New Issue