+ 1

[Solved] How can i track code by javascript from a website?

How can i get full codes by javascript from a website in my code playground? I need it.

21st Dec 2020, 2:54 AM
Mohammad Sefatullah
Mohammad Sefatullah - avatar
4 Respostas
+ 1
Mohammad sefatullah you can send a get request to that webpage which will return it's page source code. To prevent the request from being blocked by CORS Policy, it is necessary to use the cors-anywhere url in the beginning. See this example. https://code.sololearn.com/WZRCQlWV7ht3/?ref=app
21st Dec 2020, 3:17 AM
March Zucherbug
March Zucherbug - avatar
+ 4
Mohammad sefatullah What do you mean by track code?
21st Dec 2020, 2:57 AM
A͢J
A͢J - avatar
+ 1
March Zuckerberg, Thanks a lot.
21st Dec 2020, 3:36 AM
Mohammad Sefatullah
Mohammad Sefatullah - avatar
0
Mohammad sefatullah do you mean to get HTML source code of a website with JavaScript?
21st Dec 2020, 3:01 AM
March Zucherbug
March Zucherbug - avatar