Home >Web Front-end >JS Tutorial >According to the IP address, distinguish different regions and view the js code of different website pages_javascript skills
I have been busy building a website recently, but after I finished it, I felt that it was not so satisfactory. I still need to make some adjustments. Depending on the region, I looked at different website pages. Since the pages I generated were all static, it was really a bit confusing. Embarrassing, I have published some articles on this before, but I still feel it is quite troublesome, and I cannot achieve satisfactory results. Therefore, with the help of my friends, I found a more convenient method, which is to add the following code , adding it to the page we need to jump to is a good idea!