mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
exclude the "SP Consent Message" on nexus from the cleared iframes
This commit is contained in:
@ -21,7 +21,7 @@ public class ManualDownloadHandler : BrowserWindowViewModel
|
||||
|
||||
var task = WaitForDownloadUri(token, async () =>
|
||||
{
|
||||
await RunJavaScript("Array.from(document.getElementsByTagName(\"iframe\")).forEach(f => f.remove())");
|
||||
await RunJavaScript("Array.from(document.getElementsByTagName(\"iframe\")).forEach(f => {if (f.title != \"SP Consent Message\") f.remove()})");
|
||||
});
|
||||
await NavigateTo(md.Url);
|
||||
var uri = await task;
|
||||
|
Reference in New Issue
Block a user