Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Nov 2012
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts

    A URL/Link that is able to input information in specific text fields

    So for example, I click on the URL/link and it takes me to a webpage with text fields I'd [as a user] have to input. But what if I wanted to input some of the text fields directly through the URL?
    primericasecure.com

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,618
    Thanks
    0
    Thanked 645 Times in 635 Posts
    You'd need JavaScript to read the querystring on the end of the URL and use that information to do the updates.

    If the page doesn't already contain such a script then you'd need to add one to your browser as a userscript.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    Nov 2012
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by felgall View Post
    You'd need JavaScript to read the querystring on the end of the URL and use that information to do the updates.

    If the page doesn't already contain such a script then you'd need to add one to your browser as a userscript.
    What If I made it so that I redirected the user. Thus having a chance to execute some javascript before redirecting to the actual website. Would that work?

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,166
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    Not likely.

    But it depends on the site you are trying to send the data to.

    You might be able to clone the <form> on their page and just set the action= of your own <form> to point to them.

    But many (most, actually) sites won't allow form postings from outside their own site.

    I tried to look at the link you posted, but the site was down.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #5
    New Coder
    Join Date
    Nov 2012
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    Not likely.

    But it depends on the site you are trying to send the data to.

    You might be able to clone the <form> on their page and just set the action= of your own <form> to point to them.

    But many (most, actually) sites won't allow form postings from outside their own site.

    I tried to look at the link you posted, but the site was down.
    What if I iframed the website that has the form im trying to auto-input?
    would there be any code i could put in the source code that includes the iframe?

  • #6
    New Coder
    Join Date
    Nov 2012
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    Not likely.

    But it depends on the site you are trying to send the data to.

    You might be able to clone the <form> on their page and just set the action= of your own <form> to point to them.

    But many (most, actually) sites won't allow form postings from outside their own site.

    I tried to look at the link you posted, but the site was down.
    I iframed it, but it keeps redirecting the entire site to its page, i just want the iframe to be like its own browser. how is that possible?
    EDIT: I just found out the name of this event. Called when the inner site breaks out and becomes the topper site. if that makes any sense. still trying to figure out if there is a way to prevent that from happening
    Last edited by jerdev; 03-10-2013 at 08:12 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •