K
K
kuzmenko_alex2014-05-09 20:02:49
JavaScript
kuzmenko_alex, 2014-05-09 20:02:49

How to get url from address bar in chrome plugin?

How to get url from address bar in chrome extension ?
document.location.href is not suitable, because the script is not executed on the page, but in the extension window. You need to get the url of the page that is open when the extension is launched.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question