Closed kramred closed 3 years ago
Maybe should also hide iron-icon
too?
Maybe should also hide
iron-icon
too?
The hide-source-indicator-for-extensions.patch
changes the style of #source-indicator
to display: none
- i.e. <div id="source-indicator">
and all its children are not displayed; <iron-icon>
is a (grand-)child of that <div>
– no need to hide it too.
<div id="icon-wrapper">
<img id="icon" aria-describedby="a11yAssociation" alt="Extension Icon" src="…">
<div id="source-indicator">
<div class="source-icon-wrapper" role="img" aria-describedby="a11yAssociation" aria-label="Unpacked extension">
<iron-icon></iron-icon>
</div> <!-- .source-icon-wrapper -->
</div> <!-- #source-indicator -->
<dom-if style="display: none;"><template is="dom-if"></template></dom-if>
</div> <!-- #icon-wrapper -->
You are right, I didn't see the hierarchy there. Seems good then. Let's see whether @Eloston has anything to add.
Change or hide badges on the chrome://extensions/ page which show a source-indicator for e.g. "Unpacked extension", or "Not from Chrome Web Store."
See also https://github.com/Eloston/ungoogled-chromium/issues/1552