Fix Osana being the default proxy
This commit is contained in:
parent
5e7dde2534
commit
bdd1bbc980
3 changed files with 2 additions and 5 deletions
|
|
@ -26,9 +26,6 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Scripts -->
|
||||
<script src="../uv/uv.bundle.js"></script>
|
||||
<script src="../uv/uv.config.js"></script>
|
||||
|
||||
<div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
(()=>{"use strict";self.__osana$config={bare:`${location.origin}/bare/`,prefix:"/service/~osana/",codec:self.__osana$bundle.codecs.none,files:{config:"/osana.config.js",client:"/osana.client.js",bundle:"/osana.bundle.js",worker:"/osana.worker.js"},blacklist:[/^(www\.)?netflix\.com/,/^accounts\.google\.com/]}})();
|
||||
(()=>{"use strict";self.__osana$config={bare:`${location.origin}/bare/`,prefix:"/service/~osana/",codec:self.__osana$bundle.codecs.none,files:{config:"/osana/osana.config.js",client:"/osana/osana.client.js",bundle:"/osana/osana.bundle.js",worker:"/osana/osana.worker.js"},blacklist:[/^(www\.)?netflix\.com/,/^accounts\.google\.com/]}})();
|
||||
//# sourceMappingURL=osana.config.js.map
|
||||
|
|
@ -64,7 +64,7 @@ window.addEventListener('load', () => {
|
|||
let url = value.trim();
|
||||
if (!isUrl(url)) url = 'https://www.google.com/search?q=' + url;
|
||||
if (!(url.startsWith('https://') || url.startsWith('http://'))) url = 'http://' + url;
|
||||
let redirectTo = localStorage.getItem('proxy') === 'uv' ? __uv$config.prefix + __uv$config.encodeUrl(url) : __osana$config.prefix + __osana$config.codec.encode(url);
|
||||
let redirectTo = proxy ? __uv$config.prefix + __uv$config.encodeUrl(url) : __osana$config.prefix + __osana$config.codec.encode(url);
|
||||
const option = localStorage.getItem('nogg');
|
||||
if (option === 'on') {
|
||||
stealthEngine(redirectTo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue