aboutsummaryrefslogtreecommitdiffstats
path: root/pages
AgeCommit message (Collapse)Author
2018-07-03Hide Vomnibar in case of click on entire document instead of click on ↵ris58h
document.body.
2018-03-08Explicitly set background colour for input fieldsRyan Hayle
This is a simple solution to #2832 that explicitly sets the background of text input and textareas to white on the options page, which is necessary for users running with a dark theme. This does not cover the options popup.
2018-02-24Escape [ and ] in hostname.Stephen Blott
From URL: http://[fe80::cce4:1680:e720:eacb]:8080/index.html generate: https?://\[fe80::cce4:1680:e720:eacb\]:8080/* in the popup (note that [ and ] are now escaped). Fixes #2967.
2018-02-23on FindMode exiting, blur input firstgdh1995
2018-02-18Refactor URL launching from Vomnibar.Stephen Blott
It's slightly strange how the classes and objects are structured in the Vomnibar. However, this refactors the code for launching URLs (including Javascript URLs) such that we're not repeating the logix in two separate places.
2018-02-18allow javascript: URLs for custom search engines.Stephen Blott
For example, search the current site: cd: javascript:location='http://www.google.com/search?num=100&q=site:'+escape(location.hostname)+'+%s' Apparently an example like this has been on the Wiki for four years, but it has not been supported. However, the change is so trivial that it's worth doing anyway. Fixes #2956.
2018-02-06Include backup/restore as advanced.Stephen Blott
Follow on from #2750. Specifically, the backup/restore functionality should be part of "Advanced options".
2018-02-04Handle <Enter> on keypress (not keydown) in Vomnibar and HUD.Stephen Blott
Proposing this as a simpler alternative to #2934. Additionally, this puts the logic for fixing #2915 in a single place. Credit to @regmarmcem for figuring out the source of #2915. Mention @regmarmcem. Fixes #2915. Replaces #2934.
2018-01-28on vomnibar hiding, blur input firstgdh1995
This should fix an IME status issue (#2924).
2017-12-16Custom CSS should reset when empty.Stephen Blott
Fixes #2876.
2017-12-15Better version number formatting.Stephen Blott
2017-12-14Include the version number on the popup.Stephen Blott
Put the version number in the popup.
2017-12-02Show browser-blocking complaint in the popup for empty portForTab objectmrmr1993
To test the difference: * load an unblocked URL (e.g. https://www.example.com) in a tab * open the popup, see that the exclusion rules show as expected * navigate the tab to a blocked URL (e.g. chrome://extensions) * open the popup again Before this commit, the popup still shows the exclusion rules, because there is still a portForTabs object associated with the tabId. This commit adds a second check to see if the object is empty, and the message shows as expected, because all of the ports have been closed and cleared from the object.
2017-12-02Use portsForTab to decide whether Vimium can access a tab or notmrmr1993
2017-12-02Note disabled in page popup.Stephen Blott
On pages where the browser does not run extensions like vimium, replace the popup with a note explaining what and why. Fixes #2850. Currently, this is unsatisfactory because, on the Chrome new tab page, Vimium does not become active until the user tabs or clicks into the page (which is weird).
2017-12-02Do not initialise backup/restore on the popup page.Stephen Blott
This was generating a (harmless) error on the popup page.
2017-11-25Remove unused parameter.Stephen Blott
Tweak of #2601.
2017-11-18FF: Show HUD (transparently) when pasting, manage focus changes bettermrmr1993
2017-11-18FF: Use HUD.copyToClipboard everywheremrmr1993
2017-11-18FF: Refocus the parent window after focusing the HUD for clipboard opsmrmr1993
2017-11-18FF: Add copy/paste functions to the HUDmrmr1993
2017-11-16Change description of CSS optionmrmr1993
2017-11-12Use tabIndex to provide the special focusInput behaviour in the optionsmrmr1993
2017-11-02Fix typosmrmr1993
This should have no user-facing impact.
2017-10-29Better wording of backup/restore help text.Stephen Blott
2017-10-29Merge pull request #2748 from mrmr1993/frontend-splitStephen Blott
Move normal mode and its commands out of vimium_frontend.coffee
2017-10-29Refacator restore/save code.Stephen Blott
Some the long-reach code here is ugly. Things are too spread around. This refactors the code called on "save" to a callback. Thus, the code related to backup and restore is localised.
2017-10-29Reset the restore-backup file chooser on save.Stephen Blott
It's just cleaner this way.
2017-10-29Fix restore for exclusion rules.Stephen Blott
In the case of exclusion rules, we first have to remove existing rules; otherwise, the restored rules are *appended* to the existing rules.
2017-10-29Tidy up backup code.Stephen Blott
This can be shorter now.
2017-10-29Fix backup link for FF and Chrome.Stephen Blott
This makes the UI for generating an options backup the same for FF and Chrome. We populate the *Backup* link on `mousedown`.
2017-10-29Fix backup download for Firefox.Stephen Blott
2017-10-29Hide "Download Backup" Link.Stephen Blott
On Chrome, this text was becoming visible when the "Create Backup" button was pressed. Mention @mrmr1993: you might want to check this in FF.
2017-10-29Include settingsVersion in backup.Stephen Blott
2017-10-29Make backup JSON human readable.Stephen Blott
2017-10-29FF: Show backup download link in the options pagemrmr1993
Firefox doesn't seem to respect the |download| attribute for links, and it garbage collects our blob URL when we navigate away from the options page (to the object URL). We work around this by simply showing the download link in Firefox. Disappointingly, the user needs to right-click the link and choose to download from the context menu. Behaviour in Chrome is unchanged, except that the download link is now visible.
2017-10-28Add backup/restore for Vimium options.Stephen Blott
See the *very* bottom of the options page (below advanced settings). Clicking "Backup" creates a JSON file. Selecting a backup populates the options inputs, the user then clicks *Save Changes* to confirm.
2017-10-27Move NormalMode to its own content scriptmrmr1993
2017-10-06Allow using capital letters as link hint charactersAnton Strömkvist
2017-10-01Merge pull request #2687 from mrmr1993/fix-popupStephen Blott
Fix the popup dialog
2017-10-01Include DOM utils in the popup dialogmrmr1993
DOM utils are required to inject user CSS.
2017-09-30Update "Treat find queries as regular expressions"Dibyadeep Paul
Changed "Treat find queries as regular expressions" to "Treat find queries as Javascript regular expressions", to reduce confusion. There are tonnes of different types of regular expressions, so specifying what type of regular expressions is used, will reduce confusion.
2017-09-29Manually inject custom user CSS into our own frames/pagesmrmr1993
2017-09-15Use .textContent instead of .innerHTML, where appropriate.Stephen Blott
From a FF extension reviewer (gatekeeper) on Mozilla add-ons: Comments: Thank you for your contribution. Please note the following for the next update: 1) For inserting text, textContent (or JQuery text) or createTextNode() should be used instead of innerHTML. eg: $(&quot;saveOptions&quot;).innerHTML = &quot;Save Changes&quot;; So, here, `.innerHTML` is replaced with `.textContent` for elements which only ever have text content.
2017-09-01Load settings.js in the HUD.Stephen Blott
2017-09-01Better explanation of ignoreKeyboardLayout.Stephen Blott
2017-09-01Include Settings in Vomnibar page.Stephen Blott
2017-08-31Add ignoreKeyboardLayout option (under advanced).Stephen Blott
2017-08-31Update URLs to HTTPS in code, pages and docsDavid Beitey
Updating URLs to use HTTPS provides greater privacy and reduces the potential of having content modified whilst in transit (as it happening more and more by ISPs, networks, state actors etc). These URLs themselves have been tested and confirmed to work over HTTPS.
2017-04-21Firefox: Fix format of popup buttons.Stephen Blott
@mrmr1993: This is trivial fix for Firefox, so it doesn't warrant a PR. I'll mention you just to keep you up to date on commits like this, though.