aboutsummaryrefslogtreecommitdiffstats
path: root/userscripts/unhideforms.js
diff options
context:
space:
mode:
Diffstat (limited to 'userscripts/unhideforms.js')
-rw-r--r--userscripts/unhideforms.js23
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) + '"';
+}