自用的命令,用来复制浏览器Tab到其他浏览器
将当前浏览的页面使用其他浏览器打开
{
"features": {
"code": "professional_ee3ig2dejh",
"explain": "将当前浏览的页面使用其他浏览器打开",
"cmds": [
"safari",
"chrome",
"edge",
"firefox",
{
"type": "window",
"label": "切换浏览器",
"match": {
"app": [
"safari",
"chrome",
"edge",
"firefox",
"Safari.app",
"Google Chrome.app",
"Microsoft Edge.app"
]
}
}
],
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAADG0lEQVRoge2XS0wTQRjH/9sHbahCw8NgE6KghFCOHHxcCDEcOBAOBokm6MWbBzwoakww0RgPavCutyampGAMVSTioeLjIGJCSLdAA0YQqFBhkbb0PR4MtdVOqbs7tIn7u30z3+ufmdnZARQUFBRyCUebaG9vLxA0xlvgSCeA/bvYUzJLALEYIz96bDZbOJ2DhhYpaItuAqSbXW9ZYQK4K4K2CACupnNQ0WO5s2x6+nc4jjtHm6OuAJK2TfmBEOoaBXAAnI5ieOf1AIAj9T50dXgAAvRaKzDm2pMIvnf9EupqqkU3zbtncfn2fQAAIaig+WVYgd+YGwXoDTHoDDGYGzcS412nPCgrjqDMGMHFjuWUGCnNA4C55lBWflkJyGeyEuB0FCPkVyPoU4N/bUyM91or4BW0WF3X4EGfKSWGd89Kasw5k1089TPafOY8kdSBzIw8fpS21/9jC+Uz1C00MhfJqy3UXK1VtlBeogjINYqAXKMIyDXMBQw/ceHl0ylm+TM9aCTjdq7i47sFAEB1bSkO15XLXoPZCgT8YTy38QnbbnXC70v7LpcEMwEvBqbg2wwlbL8vjKF+l+x1mAiYGFuEa8Lz1/j05DdMflpOEyEe2QVsbgQxMjhDnR8ecGFD2JKtnqwCCAHsfTyCgQjVJxSM4pmVB5HpZ11WAWNv5jE37d3R77P7O8bfL8hSU14Bb79k7fthNHvfTDB7kcVicdzpfpWw1SoO1+42i8636y+ycDCaYmsK1EzqMBMQCsZSbH0hm0ufmYA1rz/FNpYUMqnDTMCKJ1VA+T4DkzqZBCxJSTzjXEmxD9aUiE9GsEibogrgCCxi6617t7AwJyRsnV6DqtpSsekAFb0X6slaC2p6SvRREA6dAEw0vz8hBBjq50GSrtqG45XQ6UQd4iWOwLK2pblBc6DeA2JoaRnSBXTkIX6J3mbSF40fHbe3BuSstY3kb1tDq71wb4HKHI+TEwGQCwAqk6ZHo7Ho6XF7G5PmAQkr0HRyuD5O4m0g5BhAqgDOBEAH4Cs48IQQi2rdMOhwNEV3yqWgkEN+AopM/kHZkTusAAAAAElFTkSuQmCC",
"platform": [
"win32",
"darwin",
"linux"
]
},
"program": "quickcommand",
"cmd": "const payload = {{payload}}\n\nconst selectList = [\n { title: `Chrome`, description: `使用Chrome打开当前页面`, icon: 'https://files.catbox.moe/eezem2.png', app: 'Google Chrome' },\n { title: `Edge`, description: `使用Edge打开当前页面`, icon: 'https://files.catbox.moe/4ydxdp.png', app: 'Microsoft Edge.app' },\n { title: `Safari`, description: `使用Safari打开当前页面`, icon: 'https://files.catbox.moe/t9cweq.png', app: 'Safari' }\n].filter(item => {\n const reg = new RegExp(item.title)\n return !reg.test(payload.app)\n})\n\nquickcommand\n .showSelectList(selectList, { optionType: 'json' })\n .then(choise => {\n const child = child_process.spawn(`open -a \"${choise.app}\" \"{{BrowserUrl}}\"`, { shell: true, encoding: 'buffer' })\n child.stdout.on('data', data => {\n console.log(data,`\\n`)\n })\n child.stderr.on('data', data => {\n console.error(data,`\\n`)\n })\n child.on('close', (code) => {\n console.log(`grep 进程退出,退出码 ${code}`)\n if (code === 0) utools.outPlugin()\n })\n })",
"output": "text",
"hasSubInput": false,
"scptarg": "",
"charset": {
"scriptCode": "",
"outputCode": ""
},
"tags": [
"浏览器"
]
}
使用Edge打开当前页面
{
"features": {
"code": "key_28k4yv9a0fu",
"explain": "使用Edge打开当前页面",
"cmds": [
"safari",
"chrome",
"edge",
"firefox",
{
"type": "window",
"label": "切换浏览器",
"match": {
"app": [
"safari",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n1f4acOB+5G2OViKfo8e1fqyJ24Oeg16FtaWPALnaBsh+cW/QaRAJOP250IbhzhW8CAgWfZ5fK70RXgtHROwJtr1xZj0J1NfBvawaQ6Zg6WTfL1acetb95pudQ+2hqRsClVbVxUVFBDxrdTRA3I1S+8Yt6/+qXEA+HazjZPb5GCrL9BV3/TiT4Neg39/MNxctAmqqQHJPTuckq6IHyUgWZuJmr94JP3phEkAmlorV67U152LU6C2trMcMuZS853hY61XfVaxJLqvqvdsgW7a7GbH8u1wIRZBfmWwY9njLStmzAXSPOjGMW9nO5yCpY9Ue73P7RUOf2yU6dzzB6QSvUrFXKab4TVvgvZzztXOwO5kaS3lGz+6KWxBdveM/NK/TSik1vNTrfSh1Pl6k7T/KZ68atF7UG898MbBYd/Bo6zu2J/TiGwEmduHRNNGiOz+uA25FmNBUgI2+DJq/Hy83zB/YbBrLfdsVq2inPyvCpZ/nh901ADJTslBPzm50Gdwf1R36Y1kVXfiu/ugAO2nAsqkmpHds1XsWvN5Ztn0DfB9bmlcuI/46erRKtheBeApjHttAvETGlaZN65lPDIxDA+e/LrdXvv/DPHR/q9vBNT6Iv8FoMVhdP2y7qMAAAAASUVORK5CYII=",
"platform": [
"win32",
"darwin",
"linux"
]
},
"program": "quickcommand",
"cmd": "const iconv = require('iconv-lite')\nconst path = '{{BrowserUrl}}'\nconsole.log(iconv.decode(path, 'cp936')) // 显示console信息,需将上方“输出”方式\n\nvar child = child_process.spawn(`open -a \"Microsoft Edge.app\" \"${path}\"`, {\n shell: true,\n encoding: 'buffer'\n})\n\nchild.stdout.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.log(iconv.decode(data, codec))\n})\n\nchild.stderr.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.error(iconv.decode(data, codec))\n})",
"output": "ignore",
"hasSubInput": false,
"scptarg": "",
"charset": {
"scriptCode": "",
"outputCode": ""
},
"tags": [
"浏览器"
]
}
使用Chrome打开当前页面
{
"features": {
"code": "window_fo6ejshorv",
"explain": "使用Chrome打开当前页面",
"cmds": [
"safari",
"chrome",
"edge",
"firefox",
{
"type": "window",
"label": "切换浏览器",
"match": {
"app": [
"safari",
"chrome",
"edge",
"firefox",
"Safari.app",
"Google Chrome.app",
"Microsoft Edge.app"
]
}
}
],
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAJT0lEQVRYR92YfVAU5x3Hv88+e3u8eJwQ6wkInOiJJBAVX7CxWmM7mrajI2nVqs3YiZOMHYNtkqm2dmwStXFaa0aTMb50pk5r2z8gWKmajhKnaFJTmwTFaHkT4XiRd/R4uYO73X06z+7escCBqP3D6TMDC7vP83s+z+99l+AxH+Qx58P/ByBjTALAf6jH4xHsdvtDKd7j8cBut6sAlFu3bgVcLlf//QSNqkGfzzdFkqRXCSFzCCGxjLEoQghljAn3ExzuOSFEZYwphBAvY+wuY+wLv9+/PzIy0j2SvLCAjDFRUZSVlNL3ATgeBmasaxhjraqq/ohS+jdCiDx0XVhAWZafp5T+BYB1TBsxBqW7C2p3lzZdsMWA2mIAMmYX7/f7/RusVmvBfQGbm5unOByOfwGYOBqc3NSI3iuX4btRCn9tNRTPPaiyDDAVRBAh2mMgpUxFROZMjFvwNYgJk0cF5ppsa2t7xuFwVJv3HXpE4vf737NYLFtGgmNeLzxnCnD3ZB4gBwDGtKmMX7W/GcDDgPFfAOH3KEXs6vWIyVkLISp6xHMHAoFDkiTl6kL0MQiwqqrK6nQ6i0VRXBBOir+qAm1HD8LvrtEfG3D8qgFyuUFQ7d+Be/y5lJIKx9ZtkNLSw0IqivJpTU3Ns+boHgoY43Q6PxNFcfpQCb5rn6Nl/9tg/X3G+UwwBiwLAmrKM2lUgzbuSVbE/2I3IudkD4OUZbmytrZ2nsvl0p15qAbdbndsYmJiKaU0ybzaV1mGhje3Q/D7IRCeYUwbjmRibucgFNdw0NyMgUhWJOw9AOuMpwZBKopS39jYODMlJeVuWMCysrInXC7Xl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Lz8/Xu2DRG+7pj3bVr16y1a9dusdlsGYSQ8YSQCP75zey7QzUacm7C3090v+XDcBfGP78xxvoYY/e6urpuFhYWHtq+fXsJAN7qhPOmUdXApUvLli2zx8XFRUmSJAmCIIiiOObPVmbpsiwzVVVVv9/v7+zs9J4/f95jgIXJ/PrKh9oojAVG3OBRveBRAR91//uuf+wB/wtLpK1lIjS7KQAAAABJRU5ErkJggg==",
"platform": [
"win32",
"darwin",
"linux"
]
},
"program": "quickcommand",
"cmd": "const iconv = require('iconv-lite')\nconst path = '{{BrowserUrl}}'\nconsole.log(iconv.decode(path, 'cp936')) // 显示console信息,需将上方“输出”方式\n\nvar child = child_process.spawn(`open -a \"Google Chrome\" \"${path}\"`, {\n shell: true,\n encoding: 'buffer'\n})\n\nchild.stdout.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.log(iconv.decode(data, codec))\n})\n\nchild.stderr.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.error(iconv.decode(data, codec))\n})",
"output": "ignore",
"hasSubInput": false,
"scptarg": "",
"charset": {
"scriptCode": "",
"outputCode": ""
},
"tags": [
"浏览器"
]
}
用Safari打开当前页面
{
"features": {
"code": "window_rdzx03kqy6",
"explain": "用Safari打开当前页面",
"cmds": [
"safari",
"chrome",
"edge",
"firefox",
{
"type": "window",
"label": "切换浏览器",
"match": {
"app": [
"safari",
"chrome",
"edge",
"firefox",
"Safari.app",
"Google Chrome.app",
"Microsoft Edge.app"
]
}
}
],
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAALqElEQVRYR92Ye3CWVX7HP+ec573mTfLmQhLCzXBRAlqSpSoQCXIRcdG63XUYRMeWOrSz63a0U2w7/uHadka3MDvOdrUuyxa6W2R2KNKCi8tqJCJZ3GglsISAclcwF0Lu75u8l+c5nfM8b0KQN1jb2ZmdPZl38r7P5ZzP+f4u53eO4He8id9xPn4/AJubm/2zZ8/2A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sdl20mwv9/f0/vP3227+dObtxn7luX/zMM8/Mfvjhh/crpcxZzHXNROOZLh+/Oheg6aLEbHGHUg6fdGluKVWuaT9ut5lcKAj6JIk0VE90uKsiydSi5JjHaVo7V157bdfSZ5999jdj7oszNIFt27Y9VlVV9RIIvxuF7o3hkPTmZMxvFvqTHQFaOoK09kviCe9eOKAZn+swq3SImeMSrmJeVHu+6lZDo0TU6NTx5uYnV69evQVIjFYl6zlEVVVV9Kmnnnp4zpw5/6CUKs5qj8zF4Q5sLcwS6zZ3V5ApYrMb82qPjuN0HTt27DsbNmx49dixYyP74bF8cPT18Nq1a29dvXr1umg0+hUJhUgZlNLdLv2fm3bcknXIcZzuvr6+pp07d27etGmTMas5krtuPtlPcq4Ob2BC1dXV+dFoNDccDvuU8s7VHLMl+xJNSnfzYraWTjweT3V1dQ0cPXrUnHAasGtDelS/X2aQ/5dyWeYyJtQX+uCXEOa3/uiXUfC3DpNtgP8B6fQKdO0d5/cAAAAASUVORK5CYII=",
"platform": [
"win32",
"darwin",
"linux"
]
},
"program": "quickcommand",
"cmd": "const iconv = require('iconv-lite')\nconst path = '{{BrowserUrl}}'\nconsole.log(iconv.decode(path, 'cp936')) // 显示console信息,需将上方“输出”方式\n\nvar child = child_process.spawn(`open -a \"Safari\" \"${path}\"`, {\n shell: true,\n encoding: 'buffer'\n})\n\nchild.stdout.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.log(iconv.decode(data, codec))\n})\n\nchild.stderr.on('data', data => {\n var codec = utools.isWindows() ? 'cp936' : 'utf8'\n console.error(iconv.decode(data, codec))\n})",
"output": "ignore",
"hasSubInput": false,
"scptarg": "",
"charset": {
"scriptCode": "",
"outputCode": ""
},
"tags": [
"浏览器"
]
}