I need help on writing code to create a bookmarklet in firefox and chrome.
After clicking on bookmarklet it has to run a batch file/powershell file pointed to it.
i wrote a code as below:
javascript:(function(){var wshShell = new ActiveXObject("WScript.Shell");
wshShell.Run("F:\App\bin\CCC.bat")})();
but it throws an error as below:
ActiveXObject` is not defined