can i access broswer history using javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can i access broswer history using javascript?

answer plz

1st Sep 2018, 5:37 AM
shutthe
10 Answers
+ 2
You simply cannot use JavaScript to access any local device resources.
1st Sep 2018, 7:27 AM
CalviÕ²
CalviÕ² - avatar
+ 1
cannot
1st Sep 2018, 7:16 AM
CalviÕ²
CalviÕ² - avatar
+ 1
You can create local programs by other languages e.g. C that can run from the local machine.
1st Sep 2018, 7:30 AM
CalviÕ²
CalviÕ² - avatar
+ 1
This might be divergent from the current conversation, but just in case it helps: https://www.w3schools.com/jsref/obj_history.asp As you can see, it's not "accessing browser history" in the sense that you can peek into the specific URLs, but there is some limited functionality available, depending on what you are trying to accomplish.
1st Sep 2018, 9:58 AM
Janningā­
Janningā­ - avatar
+ 1
thanq janning.....
1st Sep 2018, 11:34 AM
shutthe
+ 1
:)
1st Sep 2018, 11:35 AM
Janningā­
Janningā­ - avatar
0
how can i access browser history??
1st Sep 2018, 7:17 AM
shutthe
0
what should i do then...plz tell me??
1st Sep 2018, 7:28 AM
shutthe
0
how these local programs return the information??
1st Sep 2018, 7:56 AM
shutthe
0
I only do SoloLearn. I have alerts turned on for if comments are left in one of my codes though, so if you have specific questions, you can ping me there. :)
1st Sep 2018, 11:38 AM
Janningā­
Janningā­ - avatar