mirror of
https://codeberg.org/LibRedirect/libredirect.git
synced 2025-02-03 12:47:36 +01:00
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) {
|
||||
if (disable) 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 path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user