Skip to content

Commit 795660d

Browse files
committed
fixed deployment issue of www.netptop.com
1 parent 79ca193 commit 795660d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cf_www.netptop.com_worker.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ const someHTML = `
300300
301301
function search(query) {
302302
if (activeEngine === 'google_ipv4') {
303-
window.open(\`https://ipv4.google.com/search?q=${encodeURIComponent(query)}\`, '_blank');
303+
window.open('https://ipv4.google.com/search?q=' + encodeURIComponent(query), '_blank');
304304
} else if (activeEngine === 'google_ipv6') {
305-
window.open(\`https://ipv6.google.com/search?q=${encodeURIComponent(query)}\`, '_blank');
305+
window.open('https://ipv6.google.com/search?q=' + encodeURIComponent(query), '_blank');
306306
} else if (activeEngine === 'duckduckgo') {
307-
window.open(\`https://duckduckgo.com/?kae=c&kp=-2&kz=-1&kav=1&kn=1&k1=-1&kk=-1&kaj=m&kay=b&kak=-1&kax=-1&kap=-1&kaq=-1&kao=-1&kau=-1&ko=1&kpsb=-1&kbg=-1&kbd=-1&kbc=1&kw=w&kt=n&ka=n&k18=1&q=${encodeURIComponent(query)}\`, '_blank');
307+
window.open('https://duckduckgo.com/?kae=c&kp=-2&kz=-1&kav=1&kn=1&k1=-1&kk=-1&kaj=m&kay=b&kak=-1&kax=-1&kap=-1&kaq=-1&kao=-1&kau=-1&ko=1&kpsb=-1&kbg=-1&kbd=-1&kbc=1&kw=w&kt=n&ka=n&k18=1&q=' + encodeURIComponent(query), '_blank');
308308
} else if (activeEngine === 'bing') {
309-
window.open(\`https://www.bing.com/search?q=${encodeURIComponent(query)}\`, '_blank');
310-
}
309+
window.open('https://www.bing.com/search?q=' + encodeURIComponent(query), '_blank');
310+
}
311311
}
312312
</script>
313313
</body>

0 commit comments

Comments
 (0)