Skip to content

Adblocker prevents preview of file

Hi everyone :) ltns! Found a weird issue today.

Running Google Chrome on macOS with latest Adblock installed.

Visiting https://gitlab.com/gitlab-org/gitter/gitter-markdown-processor/blob/master/lib/processor.js

Results in Error loading viewer (relevant GitLab code: app/assets/javascripts/blob/viewer/index.js#L158)

Screen_Shot_2018-09-18_at_17.18.23

In the devtools console,

processor.js?format=json&viewer=simple:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT`

Weirdly, it only happens on that particular file/page.

For example this page works just fine and AdBlock doesn't kick in.: https://gitlab.com/gitlab-org/gitter/gitter-markdown-processor/blob/master/lib/decoration-url-matcher.js

So, yeah, have fun figuring that one out @timzallmann @andr3 :)

Edited by Eric Eastwood