Can it just delete that elements or use following codes which will NOT add additional elements to DOM:
Code: Select all
document.styleSheets[0].insertRule('.map_canvas,.map_canvas *{display:none !important;}', 0);
Code: Select all
document.styleSheets[0].insertRule('.map_canvas,.map_canvas *{display:none !important;}', 0);