1: javascript 中 if (window != top) top.location.href = location.href;
If the current window is not a top-level window, it is forced to modify the top-level window;
The purpose is to prevent others using iframe embedded in your page
2:
1: javascript 中 if (window != top) top.location.href = location.href;
If the current window is not a top-level window, it is forced to modify the top-level window;
The purpose is to prevent others using iframe embedded in your page
2: