Is there a frameless method to reach the "outer link line" at the top of the browser viewport

The goal is to soften the hyperlinks to external content slightly by displaying an external link bar at the top of the window that appears above the content on the external website - containing a line of text that reads something along the lines of "Content you are viewing , does not belong to this site, close this browser window to return to the site name. "

I know you can use frames for this, but from what I understand, frames are bad news for accessibility. Also, if the user then accesses a site that itself has a set of frames, there can be any kind of entertainment and games!

Any feedback will be welcomed. Perhaps something like this is possible with jQuery?

+2


source to share


1 answer


No, you need to use frames. You should have some degree of control, and the only way to do this with remote addresses is to keep the user on your server and show the remote pages in frame.



If you have partnerships with remote sites, you can discuss the javascript option that displays a bar at the top of its pages whenever a specific cookie is defined indicating that traffic came from your site originally.

+1


source







All Articles