20

Spent 4 hours debugging a “button” styling, worked fine locally but not on production.!

After striking out “cache” issues, “browser” versions, “fonts”, “sass errors” the error was with a stupid chrome extension that appended a css class attribute to the “HTML” tag 😡

And the other developer thought that was a part of what was written in the code !!

Hate these kinda plugins that manipulate the DOM 😪

P S the plugin is "Grammarly".

Comments
  • 0
    Had a similar situation once because I had an ad blocker active and a class made its way in thatwas on the filter’s blacklist.

    Thanks for calling out the culprit!
  • 2
    That is a reason more why I never install any extensions, not even an ad-blocker.
    The best way of blocking ads is by adding the relevant domains to the hosts file and add 127.0.0.1 as target IP.

    There are big lists on github so you can block all different kinds of websites like Pr0n, Gambling, Ad distributors, (slim)shady sites, ...
Add Comment