question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open hints on current tab

See original GitHub issue

Is there any way to open hints on current tab? I added this mapping but it didn’t work.

mapkey('of', '#1Open a link in current tab', function() {
    Hints.create("", Hints.dispatchMouseClick, {tabbed: false});
})

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
b0ocommented, Jan 6, 2021

@silencial Try this:

mapkey("of", "Open link in current tab", () => Hints.create("*[href]", (e) => location.assign(e.href)));
0reactions
silencialcommented, Jan 7, 2021

@b0o It works perfectly! Thank you all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Open and close tabs in Chrome browser - Google Support
Open Chrome browser. Choose an option: Next to the last tab on the right, click New tab "" . Use a keyboard shortcut:...
Read more >
What is the Google Chrome Keyboard Shortcut to Open the ...
Close current tab CTRL + W · Open new window CTRL + N · Re-open recently closed tab CTRL + Shift T.
Read more >
open each new tab next to the current tab - Microsoft Community
5. Locate when a new tab is opened, open: on the Tabbed Browsing Settings page. 6. Choose your desired settings for a new...
Read more >
Tips & Shortcuts for Better Browsing - Google Chrome
Reopen your last closed tab · Ctrl + Shift + T · Command + Shift + T ; Clear browsing data · Ctrl...
Read more >
Chrome Tips: Open Search in a New Tab - YouTube
This trick will allow you to automatically open an omnibox search in a new tab.Read more on our tips article on PCMag: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found