Is it possible to check if IE blocked my download with jQuery/JavaScript? -
I'm having some problems with IE, which is showing me the yellow "download blocked" bar for a good reason: Submit the actual file that returns returns, so JavaScript is turned on. I want to show that the user has some additional information if this is the case.
Is it possible to check that the browser is actually blocking my downloads?
I'm afraid it's not possible :( He's with the browser, you can not control This programatically.
I created an vbscript code to disable it from the registry in the old WIN98 days but I think it will no longer work:
Sub DisableActiveXWarning () Dim SHL Dim sReg set SHL = CreateObject ("WScript.Shell") sReg = "HKCU Software \ Microsoft \ Windows CurrentVersion \ Internet Settings \ Zones \ 0 \ 1201" If SHL.RegRead (sReg) = 0 then MsgBox "ActiveX Alert is already disabled! ", VbExclam Ation Else SHL.RegWrite sReg, 0, "REG_DWORD" if SHL.RegRead (sReg) = 0 then MsgBox "ActiveX warning was disabled successfully.", VbInformation Else MsgBox "An unknown error has occured !!", Vb Critical end If the end is set to SHL = any end sub
Comments
Post a Comment