更新qrcode引用地址

This commit is contained in:
fofolee 2024-02-24 12:40:05 +08:00
parent 332b9e30be
commit a93bed8e3d

View File

@ -1,6 +1,6 @@
{
"program": "html",
"cmd": "<head>\n <script src=\"http://static.runoob.com/assets/qrcode/qrcode.min.js\"></script>\n</head>\n\n<body>\n <div id=\"qrcode\" style=\"display: flex; justify-content: center;\"></div>\n <script>\n let cmdCtrlKey= utools.isMacOs() ? \"command\" : \"control\";\n utools.hideMainWindow();\n quickcommand.sleep(100);\n utools.simulateKeyboardTap(\"l\", cmdCtrlKey);\n quickcommand.sleep(100);\n utools.simulateKeyboardTap(\"c\", cmdCtrlKey);\n quickcommand.sleep(100);\n utools.showMainWindow();\n let url = quickcommand.readClipboard();\n var qrcode = new QRCode(document.getElementById(\"qrcode\"), {\n width: 400,\n height: 400\n })\n qrcode.makeCode(url)\n </script>\n</body>",
"cmd": "<head>\n <script src=\"https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/qrcodejs/1.0.0/qrcode.min.js\"></script>\n</head>\n\n<body>\n <div id=\"qrcode\" style=\"display: flex; justify-content: center;\"></div>\n <script>\n let cmdCtrlKey= utools.isMacOs() ? \"command\" : \"control\";\n utools.hideMainWindow();\n quickcommand.sleep(100);\n utools.simulateKeyboardTap(\"l\", cmdCtrlKey);\n quickcommand.sleep(100);\n utools.simulateKeyboardTap(\"c\", cmdCtrlKey);\n quickcommand.sleep(100);\n utools.showMainWindow();\n let url = quickcommand.readClipboard();\n var qrcode = new QRCode(document.getElementById(\"qrcode\"), {\n width: 400,\n height: 400\n })\n qrcode.makeCode(url)\n </script>\n</body>",
"scptarg": "",
"features": {
"code": "default_urlToQrCode",