Web Nerdery Question

ben

Registered
Joined
Feb 17, 2011
Messages
1,868
Likes
2,268
Hi all!

Against all my expectations, last time I posted a tech question here, I got a good solution and fast (thanks @camel and @MorganF!) So let's try again:

I want to be able to load a web page with a few parameters that go into the URL and that are different every time.

Ideally, I'd click a bookmark(let) that'd load a dialog with 3 or 4 input fields, the content of which would then go into a predefined URL.

Anybody knows a way of doing this?

Thanks all again!
 
sounds like you need javascript to pull from the dialog fields, and append them to the URL
 
Don't know of a bookmarket that does it -- but, as a former software developer, I will tell you: for a good programmer, this is <10 minutes of work. For an average programmer, <1 hour. For a bad programmer.... no comment. In fact, I once wrote a program that did precisely this -- but not in bookmark format, but from a command line prompt!!! I may even have it somewhere on my computer.....

You can teach yourself to code and use this as an excuse to learn, OR you can hire someone :) Even if he's expensive, for an hours worth of work, it's probably worth it, if this is something you will use a lot or use for your work.
 
If I were in your situation, I would just use a basic html form.

Code:
<center>
<form action="http://somewebsiteofyourchoice.com/index.php" method="get" target="_blank">
Inputs
<br>
<input type="text" name="str1" value=""/>
<br>
<input type="text" name="str2" value=""/>
<br>
<input type="submit" value="Click (Press Enter)" />
</form>
</center>

You can copy-paste the code in the text file, save it as something.html on your PC and open it in any browser.
 
If I understand your question, then Randoms' answer is correct. You can load that small HTML file from your local system just like one from the web.

There may be another way to do it using a bookmarklet with parameters. I haven't tried this, but here's a link that might help:
https://superuser.com/questions/776444/howto-set-google-chrome-bookmarks-with-parameters

That's browser dependent, but it looks like Firefox and Chrome support it.
 
Back
Top