I'm seeking a way to override the src of an image. The html setting the image is:
<img src="/img/commerce/reports/view_manager.gif" alt="View Manager" title="View Manager" border="0">
The location of the image is hardcoded and cannot be modified in this site as the code is proprietary. I am able to override the image using the following css:
.commerce-sidebar-item[href*='displayViewManager'] > img {
content: url("https://cpq-p10-022.bigmachines.com/bmfsweb/cpq-p10-022/image/apps_20.png")!important;
}
But it does not work in Firefox. I then found that using :before or :after may resolve the issue. https://support.mozilla.org/en-US/questions/897824
Alas, that doesn't work in this site.
Are there any other alternatives to override the image source using css or javascript?
Thank you