Wie bekomme ich die Unterstriche im Menü ausgeblendet?
[attachment=0]A12.jpg[/attachment]
Wie bekomme ich die Unterstriche im Menü ausgeblendet?
[attachment=0]A12.jpg[/attachment]
Geht mit diesem Script für fast alle Accesskey im Firefox.
// document.querySelectorAll('menu , menuitem').forEach(
// function(currentValue, currentIndex, listObj) {
// currentValue.removeAttribute("accesskey");
// }
// );
let matches = document.querySelectorAll('menu , menuitem');
for (let element of matches) {
element.removeAttribute("accesskey");
};
document.addEventListener('DOMContentLoaded', function(event) {
document.querySelectorAll('menu , menupopup').forEach(
function(currentValue, currentIndex) {
currentValue.removeAttribute("accesskey");
currentValue.addEventListener('load', function() {
currentValue.querySelectorAll('menuitem').forEach(
function(cV, cI) {
cV.removeAttribute('accesskey');
}
);
}, false);
}
);
});
Alles anzeigen
Bezeichnung dafür wenn du magst:
Accesskey ausgeblendet.uc.js
Unterstriche sind weg. Danke auch dafür!
War mir eine Freude mal wieder helfen zu können :wink: