apple & W

in
Subscribe to apple & W 3 posts, 2 voices



Vasechka User

i use apple + w key to close tab, but it seems your script only looks for ctrl+w... can you add support for Apple key, please?

i made following modification:
source:

if (String.fromCharCode(event.which)=="W" && !event.ctrlKey) {

result:

if (String.fromCharCode(event.which)=="W" && !event.ctrlKey && !event.metaKey) {

 
DemianGod Script's Author

Ok! I will...
Thanks!

 
DemianGod Script's Author

This function is Done.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel