JayGoldberg / better_iqeye511

Upgraded web UI for IQinvision IQeye511 cameras
Apache License 2.0
0 stars 0 forks source link

remove inclusion of Java applets #1

Open JayGoldberg opened 6 years ago

JayGoldberg commented 6 years ago

Where are all the Java classes loaded:

$ grep -F .class ./*
./appletvid.html.dp:    var classFile = (DPTZ) ? "DPTZ.class":"ShowServerPush.class";
./cropset.html.dp:  '<applet code="WindowSet.class" name="spapplet" ' + imAttr + '>' 
./exposure.html.dp: '<applet code="WindowSet.class" name="spapplet" ' + imAttr + '>' 
./focus.js.dp:      ('<applet code="ThermBar.class" name="thermBar" '
./gui.js.dp:        +'<applet code="WindowSet.class" name="spapplet" ' 
./gui.js.dp:        + '<applet code="ShowServerPush.class" name="spapplet" ' 
./livevid.html.dp:  var outString = '<applet code="ShowServerPush.class" name="spapplet" '
./motionset.html.dp:    '<applet code="WindowSet.class" name="spapplet" ' + imAttr + '>' 
./playback.html.dp:     + '<param name="code" value="SendCommand.class">\n'
./playback.html.dp:     + '<embed name="sendcomm" code=SendCommand.class '
./playback.html.dp: + '<param name=code value=Playback.class>\n'
./playback.html.dp:    + 'code=Playback.class '
Binary file ./Playback.jar matches
./privacy.html.dp:  '<applet code="WindowSet.class" name="spapplet" ' + imAttr + '>' 
./quadframe.html.dp:        '<applet code="SPLink.class" name="spapplet" ' + imAttr + '>\n'

But I only care about appletvid.html.dp cropset.html.dp exposure.html.dp gui.js.dp motionset.html.dp

JayGoldberg commented 5 years ago

Remove alert as well: $ grep "enableJava" ./* ./accessset.html.dp:enableJavaAlert(); ./appletvid.html.dp:if (isIE) enableJavaAlert(); ./cropset.html.dp:enableJavaAlert(); ./exposure.html.dp:enableJavaAlert(); ./focus.js.dp:if (needsApplet) enableJavaAlert(); ./ioset.html.dp:enableJavaAlert(); ./lib.js.dp:function enableJavaAlert() { ./motionset.html.dp:enableJavaAlert(); ./multiview.html.dp:enableJavaAlert(); ./multiviewset.html.dp:enableJavaAlert(); ./pccardset.html.dp:enableJavaAlert(); ./privacy.html.dp:enableJavaAlert(); ./recorderset.html.dp:enableJavaAlert(); ./serverset.html.dp:enableJavaAlert(); ./triggerset.html.dp:enableJavaAlert();