Problem: Yankshort didn't yank short urls on bugzilla.mozilla.org. This
was due to bugzilla.mozilla.org using an old, non-standard, non-html5
compliant way of advertising its short urls.
Solution: Make yankshort check if a rev="canonical" link exists if it
cannot find a rel="shortlink" url.
Fixes issue https://github.com/cmcaine/tridactyl/issues/172 .
Problem: Hints aren't displayed for certain elements. This was because
the isVisible function didn't pay attention to the element's 'display'
attribute when deciding whether an element is visible according to its
height/width.
Solution: Add two functions to help decide whether the height and width
attribute of an element matter.
Note: The two functions do not do anything if an element's 'display'
attribute is set to either 'initial' or 'inherit' because taking these
into account seems complicated.
Fixes issue https://github.com/cmcaine/tridactyl/issues/127 .
This adds an excmd interface to the Web Speech API (TTS), which allows
users to read text out and set voice and parameters via config options.
Excmds:
- ttsread: reads out the given text or element content (CSS selected)
- ttsvoices: lists available voice names (can be used in the
'ttsvoice' option)
- ttscontrol: stops the current reading (should also pause/resume,
but that doesn't seem to work right now)
Config options:
- ttsvoice: the name of the voice to use
- ttsrate: (0.1-10)
- ttsvolume: (0-1)
- ttspitch: (0-2)
Also the ;r hint submode is added which reads the textcontent of the
element with the configured voice
This has two major aspects:
- Add a border so the extent of a hint is clear
- Make hint BG translucent, so stacked hints can be discerned
Also used more Tango-ish colours to soften the intense yellow.
The DOM.getElemsBySelector function makes it a bit less verbose to
construct an array of filtered elements matching a selector.
Also, this function is expanded to take multiple filters, applied
sequentially.
THis yanks the page URL with the hinted elements id or title as a hash
fragment, which can be used to link to the page at that element's
location.
For example: https://en.wikipedia.org/wiki/Vim_(text_editor)#History
;# nmap added, from Vimperator
New features:
- auto-completion for `:open`, `:tabopen`, etc.
- Tab selects autocompletion options
- New hint modes!
;i - open image
;I - open image in new tab
;; - focus
- Better commandline history completion (substring matching!)
- Better completion for `:buffer`, `:tabmove`, etc.
- Focus inputs
gi -- last input
focusinput -p -- first password input
focusinput -b -- largest input
- Better documentation!
- More search URLs
- Yank the short or canonical link (see :help clipboard)
Contributors to this release:
John Beard
- Image hinting
- Focus input
Olie Blanthorn
- Both types of history completion
- Merging a bunch of PRs
- Some documentation
Colin Caine
- Improved buffer completion
- Documentation
Olle Fredriksson
- Make searches including hashes work.
Jake Beazley
- CSS
@chocolateboy
- Improved pagination [[,]]
@glacambre
- More search URLs
Robbie McMichael
- Fix build for BSD sed (OSX)
- tabfirst, tablast
emanresusername
- Select more elements in hints