Can I hide this using Javascript?


I just wanted to hide these buttons and change background color so it is possible? And how?

I don’t think it’s possible, why not look for extensions that can view PDF in-app? Year ago I knew one free extension.

Nope it’s possible using evaluate java script block in the web view component.( but i don’t know the script exactly )

1 Like

You can just load the image by using this URL https://drive.google.com/uc?export=view&id= PUT IMAGE ID HERE

2 Likes

in the webviewer url right?

Yes, you can use Web Viewer or you can use also my extension Image Loader.

2 Likes

Try this using EvaluateJS block -

setTimeout(function(){document.querySelector(".ndfHFb-c4YZDc-Wrql6b-SmKAyb").style.display=“none”},100);

1 Like