我試圖使一個附加組件來發送一個網站,我是開放的URL,獲取當前URL
function xxxx()
{
a = "mailto:[email protected]?subject= xxxxxxxxxxxxxxxxxx" + document.title;
a += "&body=" + escape("url" + window.location.href);
window.location.href = a;
}
但似乎是
「鉻:/ /瀏覽器/內容/ browser.xul「< <覆蓋在chrome.manifest
有沒有解決方案或任何其他方式來解決這個問題?
這是Chrome瀏覽器特有的。您需要獲取活動選項卡的URL。 – Blender 2013-02-26 07:36:35