News for hackers. Stuff that matters.
Re:The virtual device farm for rendering websites on multipl... by exyi on Thursday October 22, 2020 @05:51AM (#24856356)
It just seems to be a bunch of iframes and it renders the website in your browser. HTML is just downloaded through CORS proxy...
Re:The virtual device farm for rendering websites on multipl... by mintzworld on Thursday October 22, 2020 @12:42PM (#24860000)
Some websites have a Same-Origin policy that won't allow rendering in an iframe. The CORS proxy lets you bypass the restriction.
Re:The virtual device farm for rendering websites on multipl... by capableweb on Thursday October 22, 2020 @02:06PM (#24861148)
But this is a tool for development. So if you're loading up a site for development, don't you work on that site and can control the Same-Origin policy?
Re:The virtual device farm for rendering websites on multipl... by mintzworld on Thursday October 22, 2020 @02:14PM (#24861276)
It's possible to be testing a live version of your own site when you can't easily change the Same-Origin policy for just yourself.
Re:The virtual device farm for rendering websites on multipl... by capableweb on Thursday October 22, 2020 @02:25PM (#24861426)
Not sure if people still do the "upload PHP file automatically to production server via FTP on save" way of development. Most web developers I know run servers locally for development, where you can easily set your own headers and/or meta tags.