forked from sent/waves
Remove
Signed-off-by: sent <sentttt@proton.me>
This commit is contained in:
parent
edd8dd9944
commit
109ff52b6f
|
@ -151,18 +151,6 @@ function handleIframeNavigation(url) {
|
|||
}
|
||||
}
|
||||
|
||||
iframe.addEventListener('loadstart', (e) => {
|
||||
const newUrl = e.target.src || iframe.src;
|
||||
if (newUrl.includes('duckduckgo.com/search')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (navbarToggle && navbarToggle.checked && navBar) {
|
||||
navBar.style.display = 'block';
|
||||
}
|
||||
showLoadingScreen(false, false);
|
||||
});
|
||||
|
||||
elements.iframe.addEventListener('load', () => {
|
||||
try {
|
||||
detectIframeNavigation();
|
||||
|
|
Loading…
Reference in New Issue
Block a user