Many web pages are frame-structured. In many cases, click events or links through buttons, jump out of the frame and go to other interfaces. For example, click "Login Login" to return to the login interface.
1. There are several ways to write to jump out of the framework by running scripts:
1.<script language = javascript>('','_top')</script>"
2.<script language = javascript>('','_parent')</script>"
3.<script language = javascript>=''</script>
4. ("<script>=null;();</script>")
("<script>('','');</script>")
This method will first close the original frame window and then reopen a new window. This applies when many functional interfaces change settings to the browser, and when you return to the login interface and use the default settings.
2. Links are out of the framework
This situation is very simple, just add the target="_top" attribute.
It will jump to other pages.
1. There are several ways to write to jump out of the framework by running scripts:
Copy the codeThe code is as follows:
1.<script language = javascript>('','_top')</script>"
2.<script language = javascript>('','_parent')</script>"
3.<script language = javascript>=''</script>
4. ("<script>=null;();</script>")
("<script>('','');</script>")
This method will first close the original frame window and then reopen a new window. This applies when many functional interfaces change settings to the browser, and when you return to the login interface and use the default settings.
2. Links are out of the framework
This situation is very simple, just add the target="_top" attribute.
It will jump to other pages.