commit
2cab377e83
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ function insertScript(html) {
|
||||||
var res = `<!DOCTYPE html>
|
var res = `<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script preload src="/cyclone.js"></script>
|
<script preload src="/cyclone/cyclone.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
${html}
|
${html}
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ scope: '/service/'
|
||||||
let url = value.trim();
|
let url = value.trim();
|
||||||
if (!isUrl(url)) url = 'www.google.com/search?q=' + url;
|
if (!isUrl(url)) url = 'www.google.com/search?q=' + url;
|
||||||
if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'http://' + url;
|
if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'http://' + url;
|
||||||
let redirectTo = '/cyclone/' + url;
|
let redirectTo = '/service/next/' + url;
|
||||||
|
|
||||||
const option = localStorage.getItem('nogg');
|
const option = localStorage.getItem('nogg');
|
||||||
if (option === 'on') {
|
if (option === 'on') {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue