Can the alert of chrome remove the words 10.2.163.2, which displays 7001?

Jul.16,2021

does not. If you are implementing the pop-up window prompt of alert on mobile or pc, I suggest you encapsulate it, so that the configurability is also high


cannot. If you want to remove it, simulate it yourself


package yourself, the things of the system can not be controlled.


    When the
  1. website is launched, the domain name is displayed. -- so it may be acceptable, because your test now shows a detailed IP
  2. generally speaking, there will be a set of pop-up components that are consistent in style and match your own website-if you find it troublesome and don't need to be too flexible, just write your own div and button. If you use other frames, there should be a pop-up box in it

I remember I used to override the alert global method to implement it.

there are many such articles on the Internet. I can link to a few of them casually, and there is no guarantee that they will run.

http://webfront.lofter.com/po.

https://www.cnblogs.com/valen.

Menu