Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/source-rewrites.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const regExpEscape = /[-[\]{}()*+?.,\\^$#\s]/g,
'wisp-transport': 'wst',
libcurl: 'unix',
epoxy: 'epoch',
'hu-lts': 'net-time',
'ip-lts': 'net-time',
}),
// Apply most obfuscation changes to an entire file's text content.
prePaint = (str) => {
Expand Down
6 changes: 3 additions & 3 deletions views/assets/js/common-1735118314.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getDomain = () =>
location.host.replace(/^(?:www|beta)\./, ''),
// This is used for stealth mode when visiting external sites.
goFrame = (url) => {
localStorage.setItem('{{hu-lts}}-frame-url', url);
localStorage.setItem('{{ip-lts}}-frame-url', url);
if (location.pathname !== '{{route}}{{/s}}')
location.href = '{{route}}{{/s}}?cache={{cacheVal}}';
else document.getElementById('frame').src = url;
Expand Down Expand Up @@ -59,7 +59,7 @@ const getDomain = () =>

/* READ SETTINGS */

const storageId = '{{hu-lts}}-storage',
const storageId = '{{ip-lts}}-storage',
storageObject = () => JSON.parse(localStorage.getItem(storageId)) || {},
readStorage = (name) => storageObject()[name];

Expand Down Expand Up @@ -791,7 +791,7 @@ const preparePage = async () => {
// Load the frame for stealth mode if it exists.
const windowFrame = document.getElementById('frame'),
loadFrame = () => {
windowFrame.src = localStorage.getItem('{{hu-lts}}-frame-url');
windowFrame.src = localStorage.getItem('{{ip-lts}}-frame-url');
return true;
};
if (windowFrame) {
Expand Down
2 changes: 1 addition & 1 deletion views/assets/js/csel.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ date.setFullYear(date.getFullYear() + 100);
date = date.toUTCString();

// Cookies will not be used unless necessary. The localStorage API will be used instead.
const storageId = '{{hu-lts}}-storage',
const storageId = '{{ip-lts}}-storage',
storageObject = () => JSON.parse(localStorage.getItem(storageId)) || {},
setStorage = (name, value) => {
let mainStorage = storageObject();
Expand Down
8 changes: 4 additions & 4 deletions views/assets/js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
origin = location;
_addEventListener('keydown', (event) => {
if (event.ctrlKey && event.code === 'KeyM' && event.isTrusted) {
if (localStorage.getItem('{{hu-lts}}-loader-key') !== navigator.userAgent)
localStorage.setItem('{{hu-lts}}-loader-key', navigator.userAgent);
else localStorage.removeItem('{{hu-lts}}-loader-key');
if (localStorage.getItem('{{ip-lts}}-loader-key') !== navigator.userAgent)
localStorage.setItem('{{ip-lts}}-loader-key', navigator.userAgent);
else localStorage.removeItem('{{ip-lts}}-loader-key');
_window.location.reload();
}
});
Expand Down Expand Up @@ -43,7 +43,7 @@
if (currentDoc.currentScript) currentDoc.currentScript.remove();
};
if (
_window.localStorage.getItem('{{hu-lts}}-loader-key') !==
_window.localStorage.getItem('{{ip-lts}}-loader-key') !==
navigator.userAgent
)
return displayErrorPage();
Expand Down
2 changes: 1 addition & 1 deletion views/assets/js/register-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'{{epoxy}}': '{{route}}{{/epoxy/index.mjs}}',
'{{libcurl}}': '{{route}}{{/libcurl/index.mjs}}',
},
storageId = '{{hu-lts}}-storage',
storageId = '{{ip-lts}}-storage',
storageObject = () => JSON.parse(localStorage.getItem(storageId)) || {},
readStorage = (name) => storageObject()[name],
defaultMode = '{{libcurl}}';
Expand Down
2 changes: 1 addition & 1 deletion views/pages/misc/deobf/entry-point.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<!-- IMPORTANT-IVINSERT-DONOTDELETE -->
<!-- IMPORTANT-IVINSERT-DONOTDELETE -->
<script>
localStorage.setItem('{{hu-lts}}-loader-key', navigator.userAgent);
localStorage.setItem('{{ip-lts-lts}}-loader-key', navigator.userAgent);
location.replace('{{route}}{{/index}}?cache={{cacheVal}}');
</script>
<!-- IMPORTANT-IVINSERT-DONOTDELETE -->
Expand Down
2 changes: 1 addition & 1 deletion views/pages/misc/deobf/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4>{{mask}}{{How to find the Icon URL of a Site}}</h4>
).href = `javascript:alert((Array.from(document.head.querySelectorAll("link[rel*='icon']")).slice(-1)[0]||0).href||location.origin+"{{route}}{{/favicon.ico}}")`;
</script>
<p>
{{mask}}{{ Copy the URL that the bookmarklet gives you. Then go back to HU
{{mask}}{{ Copy the URL that the bookmarklet gives you. Then go back to InvisiProxy
and enter in the URL for the Icon URL in Settings. Enjoy! }}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/pages/nav/credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3>Main Developers:</h3>
OlyB#9420) }}
</li>
<li>
{{mask}}{{ YOCTDONALD'S (Co-Owner, v6+, Main Contributor, "HU
{{mask}}{{ YOCTDONALD'S (Co-Owner, v6+, Main Contributor, "InvisiProxy
no-lifer", Obfuscated Bughunter Legend) }}
</li>
</ul>
Expand Down
Loading