javascript - Is it possible to block the Windows Key from a web browser? -


i have sophisticated single page application, nice little menu system (similar windows 8 start menu). i'd users hit windows key open menu when within application. have functioning, brings microsoft windows start menu.

is there way (from web browser) can "block" microsoft windows start menu appearing when hit windows key within web app?

i'm using latest jquery, knockoutjs, , necessary javascript plugin accomplish task.

write custom binding handler button action -

ko.bindinghandlers.windowskey = {     init: function (element, valueaccessor, allbindingsaccessor, viewmodel) {         var value = ko.utils.unwrapobservable(valueaccessor());          $(element).keydown(function (e) {             if (e.which === 91 || e.which == 93) {                 value(viewmodel);             }         });     } }; 

as per question of whether can disable button in windows browser, see answer daniel white posted no, cannot done.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -