Set form elements with random value based on pattern value attribute
Formassist Extension
support fill input with random string based on pattern value attribute;
support auto select option;
support radio and checkbox auto checked;
support fill or empty with input:requierd;
support more html5 input type: email, number, url, mobile, tel;
针对表单input元素上的pattern属性的正则值,随机生成匹配的字符串填充;
针对select元素的option值,选中不为空的option;
支持单选复选框的选中;
支持清空表单填充数据;
支持针对必填:required元素和全部元素填充;
支持html5 input type: email, number, url, mobile, tel
Read more
support auto select option;
support radio and checkbox auto checked;
support fill or empty with input:requierd;
support more html5 input type: email, number, url, mobile, tel;
针对表单input元素上的pattern属性的正则值,随机生成匹配的字符串填充;
针对select元素的option值,选中不为空的option;
支持单选复选框的选中;
支持清空表单填充数据;
支持针对必填:required元素和全部元素填充;
支持html5 input type: email, number, url, mobile, tel
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Formassist", "version": "1.3", "description": "Set form elements with random value based on pattern value attribute", "icons": { "16": "images/icon16.png" }, "content_scripts": [{ "matches": ["*://*/*"], "js": ["embed.js"] }], "browser_action": { "default_icon": { "19": "images/icon16.png" }, "default_title": "Formassist", "default_popup": "popup.html" }, "background": { "scripts": ["background.js"], "persistent": false }, "commands": { "clear-content": { "suggested_key": { "default": "Ctrl+Shift+M", "mac": "Command+Shift+M" }, "description": "\u6e05\u9664\u8868\u5355\u5185\u5bb9" }, "fill-all": { "suggested_key": { "default": "Ctrl+Shift+A", "mac": "Command+Shift+A" }, "description": "\u586b\u5145\u6240\u6709\u8868\u5355\u5143\u7d20" }, "fill-required": { "suggested_key": { "default": "Ctrl+Shift+Z", "mac": "Command+Shift+Z" }, "description": "\u586b\u5145\u5fc5\u586b\u8868\u5355\u5143\u7d20" } }, "permissions": [ "tabs", "*://*/*" ]}
Read more