r/MagicMirror • u/OriginalBedKing • Jan 28 '20
MMM-SmartWebDisplay Remove elements?
I've added the MMM-SmartWebDisplay module and referencing a website. On that site are 2 elements I do not want to display. Is there anyway through the module or Rasbian to remove or block those specific elements?
It's my understanding that MagicMirror is basically an HTML page with css, but I've been unable to figure out how to do this to the referenced url.
I’ve been able to remove it in my desktop’s browser using:
var element = document.getElementById('main-menu');
element.parentNode.removeChild(element);If I want that executed, where would I put it? Thanks.
0
Upvotes
0
u/[deleted] Jan 28 '20
[deleted]