This commit is contained in:
eshanized
2024-12-25 10:53:16 +05:30
parent dee91853d7
commit 131b83cc0a
2 changed files with 65 additions and 46 deletions

View File

@@ -49,33 +49,6 @@
<!-- Title -->
<title>Snigdha OS - Advanced Penetration Testing Distribution</title>
<!-- Single Page Apps for GitHub Pages (SPA) Script -->
<script type="text/javascript">
(function(l) {
if (l.search && l.search.startsWith('/')) {
// Extract the search string and remove the leading slash
const originalQuery = l.search.slice(1);
// Split by '&' and process each part
const decodedParts = originalQuery
.split('&')
.filter(Boolean) // Remove empty parts
.map(part => part.replace(/~and~/g, '&')); // Replace "~and~" with "&"
// Join the parts back into a valid query string
const decodedQuery = decodedParts.join('&');
// Avoid applying the replacement if the query string is unchanged
const newUrl = `${l.pathname.slice(0, -1)}${decodedQuery ? `?${decodedQuery}` : ''}${l.hash}`;
if (newUrl !== l.href) {
window.history.replaceState(null, '', newUrl);
}
}
})(window.location);
</script>
<script type="module" crossorigin src="/assets/index-BvOIUj_o.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-InsxKvgR.css">