How to execute js code in mobile browser?

is similar to the function of snippets in a chrome browser.

or can chrome execute js when appium controls the chrome browser?

in fact, the purpose of my js is to modify the pages of a particular website, not to program on my phone.
of course, if there are other ways to modify the web page, you can also achieve my needs.


you can log on to websites that run JS online, such as https://runjs.cn/, but what is the experience of writing code on your phone?


developer mode editing and executing js code in browsers like PC browsers on mobile phones? It seems that such a function does not exist, after all, slap the size of the device, editing code is a very difficult thing.
but you can change your way of thinking. The phone can use a browser to execute local html files.


when you say "modify the web page of a specific website", can it be understood as chrome's Oil Monkey script? mobile Yandex can install chrome's tampermonkey or run the Oil Monkey script, but I have never practiced it

.
Menu