mardi 31 mars 2015

how to embed any website or open in new tab (client side)

I'm trying to find a way to display any external url (user submitted) without leaving the current url.


I originally tried using iframes but it's becoming very tedious to try and handle common websites that dont allow their site to be embedded. So then I figured I might be able to open the external urls's in a new tab but since links are not initiated by a user click I have no control over a tab vs. a window and windows get blocked by most pop up blockers.


Does anyone have any idea?


If it matters, I am trying to maintain access to a node.js (socket.io) session while a user browses an external URL through my web app.


Aucun commentaire:

Enregistrer un commentaire