mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:16:27 +08:00
更新qrcode引用地址
This commit is contained in:
parent
332b9e30be
commit
a93bed8e3d
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user