-
Notifications
You must be signed in to change notification settings - Fork 100
-
Notifications
You must be signed in to change notification settings - Fork 100
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
url in window title #468
Comments
@JJK96 I've already thought about something like this to allow the user to configure seomthing like the |
Keepass looks at the title of a window (any window, not specifically vimb) and compares that to the data you have stored with the key. So for example if the title contains the word github it will enter your github password. Now, some websites dont have a very descriptive title, something like "Log in", for those websites it would be useful to have the url in the title so that keepass can also compare that. |
Sounds interesting! At the time you could change the title by hand ( |
thanks for the hint, I have found another solution, I placed document.title+=' '+document.URL in scripts.js, which does exactly what I suggested. edit: I just noticed that this does not work for when I open a page through a link. Is that intended behaviour? |
Oh, this is even better. If you have vimb compiles with autocmd support, following should help you to do this automatically.
I think id does not work properly in scripts.js, because it's not ensured that the dom is available at the time the script is executed. But you might observe the dom:loaded event. |
That works even better indeed, I changd LoadFinished to LoadCommitted however |
If LoadCommitted work, fine. But the LoadCommited might be fired before the DOM and the title are available. |
I noticed that indeed it did not go correctly for every website. Thank you for your support, I think that this fixes my problem and any other problem where the title has to be edited. |
Is it possible to have more control about what is shown in the window title, for example it would be useful to have the url of the current page in there so that keepass auto-type works better.
The text was updated successfully, but these errors were encountered: