Jump to content

Web Nerdery Question


  • Please log in to reply
4 replies to this topic

#1
ben

ben
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!
===============================

I sell travel. If you want great service and low prices, look no further.
I also sell local SIM cards for several countries.
PM me or email ben@kanfeinesharim.com.

#2
trojans10

trojans10
sounds like you need javascript to pull from the dialog fields, and append them to the URL

#3
MorganF

MorganF
  • LocationBA
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.

#4
Randoms

Randoms
If I were in your situation, I would just use a basic html form.

<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.

#5
camel

camel
  • LocationBuenos Aires
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.co...with-parameters

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users