Code to hide the context menu in webview
I use JavaScript code to hide the menu in b4a and it works fine but it doesn't work in b4i I tried other ways and it doesn't help as some methods disable the selection completely
This is the code I use in b4a
I use JavaScript code to hide the menu in b4a and it works fine but it doesn't work in b4i I tried other ways and it doesn't help as some methods disable the selection completely
This is the code I use in b4a
JavaScript:
document.addEventListener('contextmenu', function(event) {
event.preventDefault();
}, false);