harshayburadkar / clut-chrome-extension

Chrome extension to switch between last used tabs easily using shortcut. This extension tries to mimic the ALT+TAB behavior from Windows(or Command+TAB in Mac) to allow to switch between open tabs in a Most Recently Used fashion.
MIT License
152 stars 34 forks source link

alt-S seems to send "post" to the current page before switching #1

Closed CADbloke closed 8 years ago

CADbloke commented 9 years ago

I've noticed odd behaviour when on an SMF-powered forum (http://www.theswamp.org in this case), when I press alt-S, the standard shortcut to switch tabs, it triggers a post / submit and posts a reply on the forum page

here's the html of the element it triggers

<input type="submit" name="post" value="Post" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" class="button_submit">

...oh, wait, I see. accesskey="s", that looks familiar. Hrm. Hey, I'll leave this here anyway as a warning to others. I changed the CLUT shortcut to alt-Q so now I just quit all sorts of apps accidentally by habit.

cheers for writing this.

harshayburadkar commented 8 years ago

CADbloke confirmed above that the behavior was due to the website itself which he was visiting. The website, had a shortcut which happened to be same as his tab switching key S. Hence closing this issue.