javascript - 将 Javascript 嵌入批处理文件以清除 Internet Explorer SSL 状态
问题描述
我想创建一个批处理文件来清除 Internet Explorer SSL 状态。到目前为止,我所知道的清除 SSL 状态的唯一方法是通过 JavaScript。我想将 JavaScript 嵌入到批处理文件中。
<script type='text/javascript'>
document.execCommand("ClearAuthenticationCache");
</script>
我试过了
@set @junk=1 /*
@echo off
cscript //nologo //E:jscript %0 %*
goto :eof
*/
document.execCommand("ClearAuthenticationCache");
不工作
解决方案
推荐阅读
- docker - GNU make 创建 Docker 容器并使用 Image id
- java - Scala jar:错误:无法找到或加载主类
- python - 如何在不使用包的情况下按第二个值然后第一个值对嵌套列表进行排序?
- javascript - 添加我的其他 Javascript 时,Javascript/JQuery 的一部分不起作用
- android - 如何在android中管理可能很长的列表中的内存?
- python-3.x - 如何在pyqt5应用程序中显示GIF - python
- google-cloud-platform - 无法从 Spring Boot 应用程序连接到托管在云中的 kafka
- python - 自定义 python 字典接受字符串和枚举作为键
- awk - 与 awk 进行数值比较小于或等于
- c# - 不可调用的成员“文件”不能像方法一样使用