Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I make a link to a websites link open a new link to a page I define? I want to be able to do this so that when my girlfriend clicks one of her website links it will direct to my website that asks if she will marry me.

  • 2 个回答
  • 1 人有此问题
  • 16 次查看
  • 最后回复者为 cor-el

more options

I need to know if it is possible so that when my girlfriend clicks on a link on one of her websites that it can be linked to open up another page to a website of mine or another page that I can ask if she will marry me on it.

For example, she opens facebook then clicks lets say my name, I want to link that click with it to open a new page not for that site but to open and direct her to my web page.

I need to know if it is possible so that when my girlfriend clicks on a link on one of her websites that it can be linked to open up another page to a website of mine or another page that I can ask if she will marry me on it. For example, she opens facebook then clicks lets say my name, I want to link that click with it to open a new page not for that site but to open and direct her to my web page.

所有回复 (2)

more options

If you are admin on the website you should be able to modify the url posted. For example a command like [url]www.willyoumarryme.com[name]facebook.com/name/url (This is how a previous website worked). Hope that helped, also congrats on the marriage!


Edit: The post turned into links but after facebook.com it was [ / name ] [ / url ]. (without spaces)

由Joab于修改

more options

You could write and install a Greasemonkey script that changes links on a web page to your wedding proposal page.

You need basically something like this:

(function(){var A,L=document.links,N='http://<my_url>',i;for(i=0;A=L[i];i++){A.href=N;}})();

You can see the effect if you paste this bookmarklet in the location bar:

javascript:(function(){var A,L=document.links,N='http://google.com',i;for(i=0;A=L[i];i++){A.href=N;}})();