@Horstmann
es sieht soweit gut aus..
nun möchte ich, beim Hover ein grünes Icon setzen..
Weiss aber nicht ganz genau wie..
hab die Zeilen mal kopiert aber nun keine Ahnung mehr..
CSS
/** Pfeil rechts eigenes Icon **/
menu.bookmark-item::after {
background-image: url("${ProfilePath}/${iconPfeil}") !important;
fill-opacity: 1 !important;
margin-right: 10px !important;
}
/** Pfeil rechts hover eigenes Icon **/
menu.bookmark-item:hover::after {
background-image: url("${ProfilePath}/${iconPfeil}") !important;
fill-opacity: 1 !important;
margin-right: 10px !important;
}
Alles anzeigen
und ich denke, dass auch hier:
bei den 3 Fragezeichen (???) auch das Icon stehen muss.
⬇️⬇️⬇️⬇️⬇️
JavaScript
//Eigenes Icon erwartet in Profilordner/chrome/icons, icons Ordner falls noetig erstellen
//Eigene Icons eintragen, falls vorhanden
let ProfilePath = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir, 'chrome', 'icons'));
let icon1 = 'Folder.png'; // Custom Folder Icon
let icon2 = 'Link.png'; // Custom Link Icon
let iconPfeil = 'a_export.png'; // Custom Pfeil Icon
??? let iconPfeil = 'a_import1.png'; // Custom Pfeil Icon
Klappt es denn jetzt?
Noch nicht ganz ![]()
