This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4812|Reply: 1

Chrome browser modifies the website js, css source code

[Copy link]
Posted on 3/10/2023 9:34:11 PM | | | |
Requirements: Need to debug a piece of js code on other people's websites, add or modify some function content, because there is no permission of other people's websites, you can't log in to other people's servers to replace the code, this article uses Chrome browser to modify the website js, css source code.

First, open the target site using Google Chrome Chrome, F12 open developer tools,Locate the source tab -> override, as shown in the figure below:



clickselect folder for override, that is, choose a folder to save our modified js, css and other files, as shown in the figure below:



Switch back to the Page tab, select a js file to make changes, and after the modification is complete, CTRL + S to save, as shown in the figure below:



Refresh the webpage and you can see that the js code we modified has been successfully executed, as shown in the figure below:



(End)

Score

Number of participants1MB+1 Collapse reason
QWERTYU + 1 Support the owner to post a good post, and I will also post a good post!.

See all ratings





Previous:SOS does not support the current target architecture.
Next:Synchronous operations are disallowed. Call WriteAsync or set AllowSync...
Posted on 3/15/2023 1:57:44 PM |
Hahaha I learned it
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com