I do not use the AdGuard extension. I have uninstalled both the uBlock and Stylus extensions, as well as the Tampermonkey extension, since I began using AdGuard for Windows 7 months ago.
It does not use any extension APIs, it modifies traffic system wide using a local proxy. AdGuard performs all the functions of uBlock, as well as additional features such as HTTPS filtering, cosmetic (user scripts and user styles), as well as DNS. It works with any browser and application. I don't understand why you consider the desktop program to be useless...
Question
Axel
Hi there.
I've managed to change the padding of an element using javascript. I changed:
#content { border-right: 1px solid #e6e6e6; margin: 0 -31px -9999px -5.1%; padding: 106px 30px 9999px 5.1%; background: #fff url(../images/bg-content.gif) repeat-y; position: relative; z-index: 2; }using:
document.getElementById("content").style.padding = "106px 0px 9999px 0%";How would I go about changing a css attribute that's a class?
i.e.:
.post p {margin: 0;}Link to comment
https://www.neowin.net/forum/topic/1134314-javascript-change-css-attribute/Share on other sites
7 answers to this question
Recommended Posts