Open AdamWr opened 6 months ago
It seems that click2load.html redirect doesn't work correctly in the extension. Related to - https://github.com/AdguardTeam/AdguardFilters/issues/179334
click2load.html
Steps to reproduce:
embed$subdocument,redirect=click2load.html,important
(() => { const video = '<iframe width="560" height="315" src="https://www.youtube.com/embed/Fy2rtb95QhY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'; const createDiv = document.createElement("div"); document.body.appendChild(createDiv); createDiv.innerHTML = video; })();
It looks like that script in click2load.html is blocked by Content Security Policy.
Content Security Policy
This issue doesn't occur in AdGuard for Windows, so I'm not sure if it's extension or scriptlets issue.
Most likely this is an extension bug
It seems that
click2load.html
redirect doesn't work correctly in the extension. Related to - https://github.com/AdguardTeam/AdguardFilters/issues/179334Steps to reproduce:
It looks like that script in
click2load.html
is blocked byContent Security Policy
.Screenshots
![image](https://github.com/AdguardTeam/Scriptlets/assets/29142494/b9d303f8-c0e1-4c75-98f8-e5867d7aba18) ![image](https://github.com/AdguardTeam/Scriptlets/assets/29142494/923c1ecb-9900-42bf-8c5b-598ef67a9f98)This issue doesn't occur in AdGuard for Windows, so I'm not sure if it's extension or scriptlets issue.