- Firefox-Version
- 91.0
- Betriebssystem
- WIN10
Hallo zusammen,
ich habe gerade festgestellt dass das oben genannte Script im Firefox 91 nicht mehr funktioniert.
JavaScript
location == AppConstants.BROWSER_CHROME_URL && (function () {
var separator = document.getElementById("placesContext_openSeparator");
var repBM = document.createXULElement('menuitem');
separator.parentNode.insertBefore(repBM, separator);
repBM.id = "placesContext_replaceURL";
repBM.setAttribute("label", "Mit aktueller URL ersetzen");
repBM.setAttribute("accesskey", "U");
repBM.addEventListener("command", function () {
var itemGuid = document.popupNode._placesNode.bookmarkGuid;
PlacesUtils.bookmarks.update({
guid: itemGuid,
url: gBrowser.currentURI,
title: gBrowser.contentTitle
});
}, false);
var obs = document.createXULElement("observes");
obs.setAttribute("element", "placesContext_open");
obs.setAttribute("attribute", "hidden");
repBM.appendChild(obs);
})();
Alles anzeigen
hat einer eine Lösung ?
Gruß
EDV-Oldie