| |

VerySource

 Forgot password?
 Register
Search
View: 738|Reply: 3

How to pop up a javascript warning prompt before turning the page

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-14 21:30:01
| Show all posts |Read mode
As long as the page is turned, the script will not prompt
I am using
Response.Write("<script>alert('alert')</script>");
Response.Redirect("aa.aspx");
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-14 21:45:01
| Show all posts
Response.Write("<script>alert('alert')</script>");
Response.Write("<script>window.location='http://163.com';</script>);
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-12-14 22:00:01
| Show all posts
Response.Write("<script>alert('Warning');window.location='aa.aspx';</script>);
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-12-15 10:45:01
| Show all posts
Response.Write("<script>alert('Welcome to Mumushu's Home');location.href='http://mumushu.haokoo.net(or xx.aspx)';</script>");
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list