Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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 人がこの問題に困っています
  • 5 回表示
  • 最後の返信者: 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;}})();