-
Notifications
You must be signed in to change notification settings - Fork 231
How can we get active tab url in windows? #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't think that's possible without cooperation from the browser. A simple fix would be to create/find an browser extension that pushes the url to the window title. |
RescueTime manages to do it without a browser plugin, any idea how they do it? |
Here's an AppleScript solution I've verified it at least works for Chrome tell application "System Events"
tell application "Google Chrome" to return URL of active tab of front window
end tell |
And here for linux. |
Pressing Ctrl+L and Ctrl+C would actually interfere a lot with what I'm doing. And the JSON method doesn't seem to work anymore. |
We are getting only window title for all application, I want to capture URL instead for window title in Browser. Is it possible in this lib or please advice how can we achieve this.
The text was updated successfully, but these errors were encountered: