from subprocess import run, PIPE def engine2mdlnk(engine): return '' +engine+ "
\n"; html_head = ''' 配置浏览器常用命令

配置浏览器常用命令

超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。需要安装有定制termux应用。

配置文件"/sdcard/uweb/default.cmds"如下:
'''; html_tail =""; selist = map(engine2mdlnk,[ ]); selist_root = map(engine2mdlnk,[ "解冻微信::su -c 'pm enable com.tencent.mm'", "冻结微信::su -c 'pm disable com.tencent.mm'", "解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'", "冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'", ]); intro_root=['''

下面配置需要root权限:
''']; llist = [selist,intro_root,selist_root,"

"]; print(html_head) print(''.join(string for slist in llist for string in slist)) print(html_tail)