>>293
1つの例だけどContextMenu2chを使ってるならば、

var on2chThread = (content.location.href.indexOf(this.getServerURL()) == 0)
↓に変更
var on2chThread = reg2ch.test(content.location.href)

および

menuItems[i].hidden = !on2chThread || on2chLink;
↓に変更
menuItems[i].hidden = !on2chThread && !on2chLink;

これでブラウザ上でもスレかスレのリンクでContextMenu2chを表示出来る。そのうえで、

<menuitem label="FoxAge2chに追加" onclick="ContextMenu2ch.addURL();" />

というメニュー項目と以下のコードを適切な場所に追記する。

BaseContextMenu.prototype.addURL = function() {
Components.utils.import("resource://foxage2ch/utils.jsm");
const FoxAge2chService = FoxAge2chUtils.service;
var addURL = gContextMenu.onLink ? gContextMenu.getLinkURL().toString().replace(/^.+thread\//,"") : content.location.href.replace(/^.+thread\//,"");
FoxAge2chService.addFavorite(addURL);
};

ContextMenu2ch ver3.4以下利用なら
BaseContextMenu.prototype.addURLはbase.addURLに変えてね。