So what I want is to do this:
if (top != self) {
top.location = self.location;
}
on self.location
; change event. (it is possible to use jQuery if really needed but I would love not to) Is it possible and how to do such thing?
The main idea is to keep all popup windows on top. And here we try to modify window code so that it would get onto top when user clicked on main page to open new one. So I figured we shall subscribe and listen to self.location
change event. I wonder how to do it?