right button click on any URL posts that url to a server-side form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • castnblast

    right button click on any URL posts that url to a server-side form

    OK, this isn't really a php question.
    But php is involved, sort of, and I usually get good
    answers here, regardless.

    I want to build a browser (perhaps as a firefox plugin)
    that, for any right-button click on any url on any page, posts the url
    to
    a server-side php form, that prompts for additional descriptive
    metadata and
    then inserts that link into a mysql schema.

    I know how to do all the server-side php/mysql stuff, but I don't know
    how to connect
    any right-click on any url (inside the client) as a post to my
    server-side URL.

    I can imagine this happening, vaguely, as a firefox plugin mechanism.
    Does anybody know of any how-to examples, that do something like this?
    Or is there an even easier, pure javascript way to do this?

  • R. Rajesh Jeba Anbiah

    #2
    Re: right button click on any URL posts that url to a server-side form

    "castnblast " <devnull@montan a-riverboats.com> wrote in message news:<110193902 6.525294.173400 @c13g2000cwb.go oglegroups.com> ...
    <snip>[color=blue]
    > I know how to do all the server-side php/mysql stuff, but I don't know
    > how to connect
    > any right-click on any url (inside the client) as a post to my
    > server-side URL.
    >
    > I can imagine this happening, vaguely, as a firefox plugin mechanism.
    > Does anybody know of any how-to examples, that do something like this?
    > Or is there an even easier, pure javascript way to do this?[/color]

    1. Capture click events
    2. Use XMLHttpRequest <http://jibbering.com/2002/4/httprequest.htm l>
    3. You may want to hack the source of pagerankstatus plugin.

    --
    <?php echo 'Just another PHP saint'; ?>
    Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

    Comment

    Working...