U
U
Urushi Go2015-12-31 20:01:22
PHP
Urushi Go, 2015-12-31 20:01:22

JavaScript - how to manage browser data?

Is it possible to manipulate browser data with JavaScript? For example: tracking/modifying history, bookmarks, download history, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2015-01-01
@UrushiGo

no way.
from the point of view of the browser, js is usually executed in the context of the page - and this is, in the latest fashion, a "sandbox", from which access to anywhere else is a priori prohibited. into the system - a ban, because the dream of any virus. to the browser too, for the same reason,
history and bookmarks can be accessed by browser extensions... those browsers that support extension technology - Chrome and Firefox. but the fact that extensions are required to announce in advance what they want to have access to, and get the user's open consent for this, is already a de facto standard ... at least in words ... all cases when it can be bypassed are already " Zero-day vulnerability "
ps - MS hints that the next version of the browser (or one of the two versions) ... will have an extension mechanism that is as easy as Chrome and Firefox ... but for now this is a matter of the future ... for today, you will have to write extensions for IE in C/C++, and with a big headache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question