malc_b
Coder
I have some stuff I'm working on using node, express and ejs. It's ticking along alright. The basic premise is that the routes for pages all include certain navigation elements with the story element in the middle section. What I'm trying to do now is to let that middle section be loaded into an iframe on someone else's site without any of the nav stuff. My idea was to have the express code check if the request for the route is from a user (either by directly accessing the page or via a link from the navigation section) or from any other site by way of iframe. Is there a way to do this without adding extra to the link from the external iframe? TIA