Reputation: 53
I am using chrome console to get data from one site with these 2 commands.
window.location.replace(link);
document.forms[2].submit();
Is there any way to run theme together in the same line or make a loop ?? Because i want to run in many times
Upvotes: 2
Views: 4224
Reputation: 7061
Open Dev tools, navigate to the Sources
tab, open the sidebar on the left, and open the Snippets
tab. Now right click and create new snippet, put your code inside it, and run it via Ctrl+Enter
. These snippets stay there untill you delete them, even after chrome restart. They are very powerfull and easy to use.
Read more in the official article Authoring Development Workflow #Snippets
Upvotes: 6