Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'log-addEventListener' — no addEventListener call logging in Firefox #446

Open
ghajini opened this issue Aug 26, 2024 · 1 comment
Assignees

Comments

@ghajini
Copy link

ghajini commented Aug 26, 2024

URL= https://exego.app/GdvGUG, https://evernia.site/GdvGUG
there are popups on page, if i use following rules

exego.app,evernia.site#%#//scriptlet('abort-current-inline-script', 'navigator', 'FingerprintJS')
exego.app,evernia.site#%#//scriptlet('log-addEventListener')
evernia.site#%#//scriptlet('prevent-fetch', 'adsbygoogle')

exego.app,evernia.site#%#//scriptlet('log-addEventListener') do not log addEventListener call (wrt following script) on firefox as compared with opera/chrome

<script>
window.shouldOpenPopUp = true;
function openPopup(event) {
  if (window.shouldOpenPopUp) {
    event.preventDefault();
    event.stopImmediatePropagation();
    window.shouldOpenPopUp = false;
    setTimeout(() => {
      window.shouldOpenPopUp = true;
    }, 12000)    // Create and click the link
    const a = document.createElement('a');
    a.href = 'https://cvrtu6ee.pro/?aD1jNzViM2EyYWNiYjdlYWZlYjVjNTQyMGY4ZDg4YjBiMyZ1c2VyPTE5NCZzaWQ9OTImdHlwZT1jJmFkY29kZT0yJnRtcD01&file=exe';
    a.target = '_blank';
    a.style.display = 'none';
    document.body.appendChild(a);
    a.click();
    document.body.removeChild(a);
  }
}
document.body.addEventListener('click', openPopup);
</script>

firefox=
Untitled12

opera=
Untitled122

iam not able to see ,what happens for firefox?

@ghajini
Copy link
Author

ghajini commented Aug 30, 2024

when Disable cache is enabled from network tools ,issue does not occur

@slavaleleka slavaleleka changed the title log-addEventListener Fix 'log-addEventListener' — no addEventListener call logging in Firefox Aug 30, 2024
@adguard-bot adguard-bot assigned slavaleleka and unassigned maximtop Sep 5, 2024
@slavaleleka slavaleleka added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants