I want to get the text that the user entered into the current visible address bar using Javascript. This is for Google Chrome only.
Is it possible? I know that you can get the document url through window.location.href, but I cannot find any javascript related to the current code inside the / omnibar address bar.
window.location.href
Thanks for the help!
EDIT: This is an extension.
Even with extensions, this is not possible - at least in google chrome.
Chromium - , javascript- ; Greasemonkey, Firefox.
, , () .
, , , , .
, . .
, chrome.
, , , - , - , , .
DOM, StumbleUpon, ββ, Chrome. , script JS, , , , .
, ( ), , , URL-, url, .
Source: https://habr.com/ru/post/1741859/More articles:How do make_pair know the types of its arguments? - c ++Is there a last_insert_id method for Sequel? - ruby ββ| fooobar.comA drawing line in Google Earth that takes into account the curvature of the globe - gisTechnology and Standards at Kindle - java.NET Compact Framework Connection String Encryption / Security - c #How to enable images for ? - htmlMFC SDI application without a standard βnew documentβ at startup - visual-c ++Creating lines around a guideline using Miterjoin - c #C socket programming: does recv () call change the socket file descriptor? - cREST / JSON: Should I include a new line after a JSON line? - jsonAll Articles