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

This is a discussion on right button click on any URL posts that url to a server-side form within the PHP Language forums, part of the PHP Programming Forums category; OK, this isn't really a php question. But php is involved, sort of, and I usually get good answers ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2004
castnblast
 
Posts: n/a
Default 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?

Reply With Quote
  #2 (permalink)  
Old 12-02-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: right button click on any URL posts that url to a server-side form

"castnblast" <devnull@montana-riverboats.com> wrote in message news:<1101939026.525294.173400@c13g2000cwb.googleg roups.com>...
<snip>
> 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?


1. Capture click events
2. Use XMLHttpRequest <http://jibbering.com/2002/4/httprequest.html>
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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0