From 47e7770dc4aac0cc8767935558a0c8cae74632c1 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 30 Sep 2021 05:44:13 +0330 Subject: opewrt,haproxy,nginx,ejabberd,.... --- userscripts/unhideforms.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 userscripts/unhideforms.js (limited to 'userscripts/unhideforms.js') 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) + '"'; +} -- cgit v1.2.3