[ prog / sol / mona ]

prog


How can I run my own instance of this

265 2020-06-01 03:28

To convert all the honeypot links on a page like
https://www.fossil-scm.org/fossil/rptview?rn=1
to ticket links:

Array.from (document.getElementsByTagName ("a")).filter (e => e.hasAttribute ("data-href") && /\/honeypot$/.test (e.getAttribute ("href"))).forEach (e => { e.setAttribute ("href", e.getAttribute ("data-href")); })

Obviously the hostiles >>262 they are so afraid of will be nice enough to refrain from reading the data-href attribute.

301


VIP:

do not edit these