0

Is there any option for getting Bookmarks toolabr information from javascript code, i.e. Can we get information what are bookmarkleted in the Bookmarks toolbar [url, text etc.]?

Amitku
  • 4,664
  • 2
  • 16
  • 17

2 Answers2

1

It depends on the toolbar you are talking about (a browser bookmarks bar? which browser?) and the environment the JavaScript executes in.

Assuming the latter is "a webpage loaded in a browser", then the answer is 'no, that would be a horrific invasion of privacy and security risk'.

Other environments (e.g. a browser plugin) have different restrictions and may allow access.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
0

I think you can't. This would be privacy violation. Ex: your js read bookmarks information and send by ajax to your server.

Topera
  • 12,223
  • 15
  • 67
  • 104