Today when I tried to answer a question with a snippet it gave me a strange "Script error." message. I can run the sample code and it works, but I still get the error. Is this a bug or am I not understanding something about Stack Snippets?
$('.local-intranets').addClass('class');
.class {
background-color: red;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="local-intranets">
Test
</div>
Image:
After edit by @suraj I can run the snippet in this question and still get the same error. I'm using Google Chrome, version 63.0.3239.132 (Official Build) (64-bit).
DuckDuckGo Privacy Essentials 018.1.25
.When I disable this extension error disappear.