Answer the question
In order to leave comments, you need to log in
How to execute Javascript on someone else's site?
Good day dear comrades.
There is an online store, when you click on the button to add any product to the cart in the browser inspector, I monitor the execution of the add.js javascript, after which the product is added to the cart, I would like to know:
Can I send such a js request to the site myself from a self-written application so that it would work as well?
If so, please help with knowledge, an example, advice or a link to materials.
Heavenly thanks in advance!
Answer the question
In order to leave comments, you need to log in
You write userscript. You install a browser plugin that runs userscript. You start. This is how I caught the appearance of the product and added it to the cart. Since a lot of people hunted for the goods. Then an API appeared on that site. (but it doesn't matter to me anymore)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question