MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/electronics/comments/20wade/deleted_by_user/cg8pxt4/
r/electronics • u/[deleted] • Mar 20 '14
[removed]
61 comments sorted by
View all comments
Show parent comment
1
Could you post said script? Im thinking of placing an order like yours and building a kit of standard parts.
1 u/RandoAtReddit Mar 25 '14 edited Mar 25 '14 To be specific, I use TamperMonkey in Chrome. Here's my script:if(window.location.href.indexOf("q=") < 0) //To avoid recursion { var inputs = document.getElementsByTagName("input"); for(var i=0;i<inputs.length;i++) { if(inputs[i].type == "text") { inputs[i].value = "10"; } } }
To be specific, I use TamperMonkey in Chrome. Here's my script:
if(window.location.href.indexOf("q=") < 0) //To avoid recursion { var inputs = document.getElementsByTagName("input"); for(var i=0;i<inputs.length;i++) { if(inputs[i].type == "text") { inputs[i].value = "10"; } } }
View all comments
Show parent comment
1
u/Lord_ranger Mar 22 '14
Could you post said script? Im thinking of placing an order like yours and building a kit of standard parts.