diff options
author | terminaldweller <thabogre@gmail.com> | 2021-09-30 02:14:13 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-09-30 02:14:13 +0000 |
commit | 47e7770dc4aac0cc8767935558a0c8cae74632c1 (patch) | |
tree | d179f93bea23c81df424d8a5d45951116424e1d8 /userscripts | |
parent | haproxy,jabber,bitlbee (diff) | |
download | scripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.tar.gz scripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.zip |
opewrt,haproxy,nginx,ejabberd,....
Diffstat (limited to 'userscripts')
-rw-r--r-- | userscripts/unhideforms.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/userscripts/unhideforms.js b/userscripts/unhideforms.js new file mode 100644 index 0000000..6459723 --- /dev/null +++ b/userscripts/unhideforms.js @@ -0,0 +1,23 @@ +// ==UserScript== +// @name New script - yektanet.com +// @namespace Violentmonkey Scripts +// @match https://programmers-day.yektanet.com/ +// @grant none +// @version 1.0 +// @author - +// @include * +// @description 9/13/2021, 4:02:43 PM +// ==/UserScript== +var snapHidden = document.evaluate( + "//input[@type='hidden']", + document, + null, + XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, + null +); +for (var i = snapHidden.snapshotLength - 1; i >= 0; i--) { + var elmHidden = snapHidden.snapshotItem(i); + elmHidden.style.MozOutline = "1px dashed #666"; + elmHidden.type = "text"; + elmHidden.title = 'Hidden field "' + (elmHidden.name || elmHidden.id) + '"'; +} |