0

So, I followed this tutorial on How to create cross-platform desktop apps with NW.js because apparently you can insert any website inside an iframe, you can login and the iframe will not break, but it doesn't work, it only works with one example on the duck searcher, can anyone tell me how can I prevent the iframe-busting with the nwjs tool? Here is the GitHub with the full project

Tiffany M.
  • 40
  • 1
  • 8

1 Answers1

0

Set these two attributes and everything will be framed including this site:

FrameID.setAttribute('nwdisable','true'); FrameID.setAttribute('nwfaketop','true');

There's no escape from this because it gives the "victim" site a fake top value.

End of story.