SimonBrazell/privacy-redirect

iframe

sjehuda opened this issue · 0 comments

At this time I know of no other way to achieve iframe redirects, happy to hear some suggestions on this though

Perhaps we should scan them and rewrite value of attribute src.

for (const framebox of document.querySelectorAll('iframe')) {
  if (framebox.src) {
    // rewrite url
  }
}