Open lydell opened 5 years ago
<pre>
elements now get hints, making it easier to select and copy code blocks.Thanks to @d125q for helping with testing and a couple of code tweaks!
When you use AltShiftJ to click many things, Link Hints now waits for a little bit before finding elements again. This gives the page time to render new elements. For example, if you clicked a button using hints and that button results in more clickable things appearing on the page, Link Hints now has a greater chance of giving them hints without having to use CtrlR to refresh them.
Some online code edtiors (CodeMirror and Monaco) now get hints inside the code, based on their syntax highlighting. This lets you move around in the code using hints! (#20)
When you use Tab to rotate tabs, it now works better when you had already typed some hint characters. Previously, Link Hints rotated them as if no hint characters were typed, resulting in hidden hints being moved on top sometimes, which you can’t see. This made it feel like nothing happened when pressing Tab. Now Link Hints rotates clusters of visible hints and clusters of hidden hints separately.
If you import options from a JSON file and the file contents are problematic, you now get better error messages.
If you’ve set Firefox to open a blank page (about:blank
) in new tabs, Link Hints now displays “Browser extensions are not allowed on this page.” in the toolbar button popup as it should again.
Fixed an edge case with click listener detection. (Only the capture
option matters when removing listeners, not others like passive
.)
Fixed an edge case where the Firefox popup blocker workaround could do the wrong thing if the site triggered another click event while handling Link Hint’s click event (“I heard you like click events…”). Thanks to @gdh1995 for reporting! (#21)
Finally, the “big” one. Well, it’s a big code change but it’s supposed not to be noticeable by Link Hints users. The extension has been migrated from Flow to TypeScript. That might sound like a scary rewrite, but both languages are very similar, so there were mostly small tweaks that needed to be done here and there. A lot of code was changed though, so there’s always the possibility of bugs having crept in. So why was this migration done at all then? It makes Link Hints much easier to maintain. It also immediately found a few smaller oversights that I could fix. I’ve run the TypeScript version of Link Hints for months before this release, so it should be working fine (it should even work better), but you never know for sure!
Note: This version never made it to the Chrome Web Store.
Link Hints now works on XHTML pages. Previously, Link Hints would always find zero clickable elements on such pages. Those aren’t super common so you might not have noticed, but now it works! Thanks to @d125q for reporting!
The homepage link in Link Hint’s toolbar button popup now correctly opens Link Hint’s homepage in a new tab in all browsers. Thanks to @budRich for the fix!
Note: This version never made it to the Chrome Web Store.
This release hopefully fixes an issue where the hints stopped appearing for some Chrome users.
There’s also a very technical internal change to how options are read, which you shouldn’t notice at all. But if you do notice some options related problem, let me know!
clipboardWrite
permission. The copy text feature and the “Copy debug info” button both seem to work without it these days. Link Hints recently did not pass review from Google due to this permission.
Click the 🔊 Subscribe button in the sidebar to get notifications on what’s new in Link Hints!
Note that it could take a couple of days before a new version is available, depending on how fast Mozilla and Google review the update.