r/electronics • • Mar 20 '14

[deleted by user]

[removed]

151 Upvotes

61 comments sorted by

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.

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";
        }
    }
}