stevehanson / domain-switcher-chrome

Domain Switcher extension for Google Chrome
https://chrome.google.com/webstore/detail/domain-switcher/lbehdhpgigdlinfkidifkbhjnaglfojc
Other
21 stars 15 forks source link

Allow middle click to open new tab #9

Open amenk opened 8 years ago

amenk commented 8 years ago

When clicking a domain in the domain switcher with the third mouse button, a new tab should be opened

stevehanson commented 8 years ago

Good call. Feel free to open a PR, or I'll try to get around to it at some point.

amenk commented 7 years ago

Does not work anymore in Chrome 55. Workaround seems to be to set also the href attribute of the item in the popup. But for getting the actual href, some restructuring would be necessary. Not even sure if it is possible. Also I was not able to use href="javascript: ...." because of CSP http://www.cspplayground.com/compliant_examples#javascript-uri