History alerts - Sounds for Back or Forward Unavailable?

7 views
Skip to first unread message

Jason Bratcher

unread,
Apr 13, 2012, 6:56:28 PM4/13/12
to Noise
I would like to associate sounds to 2 important events i encounter;
I'd like to have a sound play when i try to use Alt+left arrow to go back, but the Back command is unavailable.
Also along that note, I'd like a separate sound if i've gone to a page and the Forward button is grayed out;
I.E., tapping Alt+Right Arrow activates the Forward command.

bootleq

unread,
Apr 14, 2012, 7:56:39 AM4/14/12
to noise-firef...@googlegroups.com
Hi, this can not be archived by Noise.
There is no simple event to detect this whole scenario.

However, If you feel comfortable using add-ons like "keyconfig" or "FireGestures", you can set custom Back/Forward actions with Noise:
  1. Back
    if (gBrowser.webNavigation.canGoBack) {
      BrowserBack();
    } else {
      Noise.play('C:\\path-to.wav');
    }

  2. Forward
    if (gBrowser.webNavigation.canGoForward) {
      BrowserForward();
    } else {
      Noise.play('C:\\path-to.wav');
    }
This might be too hacky for common users.
Possibly I can't help much if it produce further problems.

--
您已訂閱「Google 網上論壇」的「Noise (Firefox Extension)」群組,因此我們特別傳送這封郵件通知您。
如要在此群組張貼留言,請傳送電子郵件至 noise-firef...@googlegroups.com
如要取消訂閱此群組,請傳送電子郵件至 noise-firefox-ext...@googlegroups.com
如需更多選項,請造訪此群組:http://groups.google.com/group/noise-firefox-extension?hl=zh-TW

Reply all
Reply to author
Forward
0 new messages