Hi I am new here. I know some HTML but no Java. I want to learn though as most everything is Java these days. Anyway, my problem is this... I have a site that I made years ago which consists of frames for easy navigating around one of my favorite sites (which is not my own site.) My frame has many links on it and lately I have tried the links pointing to that specific domain and they all break out of my frame. I viewed their source code and was able to find the following....

<script>
(function(window) {
if (window.location !== window.top.location) {
window.top.location = window.location;
}
})(this);
</script>

Is there a way to get around this? I do not want to clickjack or anything stupid like that, I just want to be able to get around the site easily. If not I suppose I would have to target all the links to open in a new window which I don't really want to do. Any help would be appreciated! Thanks!!