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.

Hi, I’ve just started using it for Youtube and some other players.

I was wondering if we could have an easy toggle option to enable the streamkeys or disable quickly.

So I don’t need to enable or disable on chrome extensions which are, honestly, quite annoying.

I’ve seen your FAQ, and I do understand that.

FAQ: Why do my iTunes/Windows Media Player/etc media keys not work after I install this extension?

I haven’t read your source code yet, but I believe we could have a boolean option to load or don’t load the JS/etc…

I’m happy to try to implement myself and send you a PR, but I would like to know your thoughts before handling it.

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Brozgarcommented, Oct 1, 2016

Hmm, what if we just stop execution of everything that belongs to the plugin instead of completely disabling it? Something similar to Adblock’s pause function, I guess…

1reaction
berrberrcommented, Jul 3, 2016

So, an extension can disable itsself, but once it does there is no way for an extension to enable itsself from a disabled state (because it’s disabled! 😄)

The switcher extension works by using chrome.management.setEnabled on other extensions not itsself. That’s how it can enable disabled extensions.

So, we could add a hotkey/toggle in the popup to disable streamkeys really easy, but enabling it back is not possible (unless I am missing something). And I don’t really know how useful a disable switch would be to people.

Read more comments on GitHub >

github_iconTop Results From Across the Web

.toggle() | jQuery API Documentation
A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7,...
Read more >
Toggle Note - Investopedia
A toggle note is a payment-in-kind bond in which the issuer has the option to defer an interest payment by paying an increased...
Read more >
Add a check box, option, or Toggle button (ActiveX controls)
Option buttons are better when your user has just one choice. Toggle buttons indicate a state between an enabled or disabled state when...
Read more >
jQuery toggle() Method - W3Schools
The toggle() method toggles between hide() and show() for the selected elements. This method checks the selected elements for visibility. show() is run...
Read more >
Toggle option crossword clue
Toggle option crossword clue. Posted on August 18, 2021 at 12:00 AM. Thank you for visiting our website! Below you will be able...
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