JavaScript can expose your browsing history

Web surfing history is easily accessible without permission - through JavaScript code.