Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website does not function when Ad Block is enabled #576

Closed
1 of 5 tasks
Septem151 opened this issue Apr 15, 2022 · 19 comments
Closed
1 of 5 tasks

Website does not function when Ad Block is enabled #576

Septem151 opened this issue Apr 15, 2022 · 19 comments
Labels

Comments

@Septem151
Copy link

Septem151 commented Apr 15, 2022

Issue

The website does nothing when adblocker is on. Clicking the "Create" button does nothing.

Development Environment:

  • Machine (Local, Container, Virtual):
  • Operating System (Name/Version):
  • Web Browser: Brave Browser Version 1.37.111 Chromium: 100.0.4896.79 (Official Build) (64-bit)
  • Vapor Version:
  • Swift Version:

Expected Behavior:

Clicking "Create" on the website should redirect me to the generated gitignore file.

Actual Behavior:

Clicking "Create" does nothing. No errors reported in console, no network activity.

Reproduction Steps:

Open a web browser to either https://www.toptal.com/developers/gitignore/ or https://gitignore.io and have any Ad Blocker enabled (in my case, ublock origin and the built-in Brave browser Ad Block). Try to click "Create" with a specified language(s) to generate, watch as nothing happens. Reproducible with Brave's built-in Ad Block disabled and using just ublock origin.

@kishaningithub
Copy link

kishaningithub commented Apr 17, 2022

Same is also reproducible in firefox private windows without any addons and normal windows with ublock enabled.

The only way i am using this site is via incognito window in google chrome which does not have any addons enabled.

@jhult
Copy link

jhult commented Apr 20, 2022

I can't get the "Create" button to work in any browser (Safari, Firefox, Chromium) even without any adblocking extensions.

@Shaquu
Copy link

Shaquu commented Apr 22, 2022

Same on Chrome with AdBlock. Thanks for ruining the tool :)

@dunefox
Copy link

dunefox commented Apr 22, 2022

It's not working for me either, regardless of extensions and the browser itself.

@ravgeetdhillon
Copy link

ravgeetdhillon commented Apr 23, 2022

Facing the same issue. But works in Chrome's Incognito mode.

@danwhitston
Copy link

danwhitston commented Apr 27, 2022

Same issue, Windows 11, Chrome 100.0.4896.127 (Official Build) (64-bit). I'm just updating Chrome, will see if that helps, then I'll try incognito mode as suggested above.

EDIT - Did not work after updating. Did not work in Incognito mode with uBlock Origin still enabled. DID WORK in normal mode on Chrome with uBlock disabled for the site. It looks like gitignore.io has become incompatible with uBlock for some reason.

@rumdood
Copy link

rumdood commented Apr 28, 2022

Same issue. Doesn't work in any browser - not even in Chrome with incognito mode. Tried disabling PiHole to see if that corrected the issue but still doesn't work.

Windows 10: 19044.1645
Firefox 99.0.1
Chrome 100.0.4896.127

@joeyshi12
Copy link

Going into incognito mode doesn't work for me. It works when I disable all my add-ons on firefox.

Another way to get your gitignore file is to call their endpoint directly. For example,
wget https://www.toptal.com/developers/gitignore/api/python,vim .gitignore for python+vim

You can list the available options with
curl https://www.toptal.com/developers/gitignore/api/list

@kelvinrfr
Copy link

Same... is this a bug or a feature? 👁️

@rungxanh1995
Copy link

I just checked, and it's working with Chrome and Firefox (no need to disable any add-ons), but not Safari 😂

@umutseven92
Copy link

Just tried with Chrome, version 101.0.4951.54. Site does not work with uBlock Origin on, the Create button doesn't do anything.

Thanks for taking a pure, simple developer tool and commercialising it. Gotta get those KPIs up!

@rossheat
Copy link

rossheat commented May 8, 2022

Got the create button to work in Chrome Incognito mode. Doesn't work in regular mode. Possibly related to uBlock origin.

@RobertNickRevnic
Copy link

Tested in Brave Browser [Version 1.38.111 Chromium: 101.0.4951.54 (Official Build) (64-bit)]
It works in a private window with the Brave shields down (it has an internal adblocker), but in a regular window, it does not work, even with all the adblockers disabled.

Tested in Chrome [Version 101.0.4951.54 (Official Build) (64-bit)]
It works in normal and private windows, as long as the adblocker is disabled.

@wwestlake
Copy link

I'm having this issue in Chrome with U-Block Origin turned on. With it turned off, the site works fine. In the console, I see this error:

GET https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194 net::ERR_BLOCKED_BY_CLIENT

@nesevis
Copy link

nesevis commented May 15, 2022

Currently not working with network-wide ad blocking. Applies to both Safari and Firefox.

main.js is successfully loaded.

@ttimasdf
Copy link

ttimasdf commented Jun 8, 2022

I wrote this user script to bypass the misuse of Google Analytics. The code is hidden behind event report callback. 👎

This script would fix this issue and #577.

(function() {
    'use strict';
 
    unsafeWindow.gtag = (event, ...args) => {
        var cb = args[1].event_callback;
        if (typeof cb === "function") {
            cb();
        }
        console.log(event, ...args);
    };
})();

The userscript could be installed on GreasyFork - Emulate Google Analytics on gitignore.io.

@Sn0wfreezeDev
Copy link

Sn0wfreezeDev commented Jun 14, 2022

Tested with Safari 15.5 and AdGuard enabled. I am not able to click the create button

@jhult jhult mentioned this issue Jun 20, 2022
Closed
@guoquan
Copy link

guoquan commented Jun 21, 2022

Tested with Safari 15.5 and AdGuard enabled. I am not able to click the create button

Not able to click the create button with Safari 15.5 and AdGuard installed, but disable on this site or even pause running.

@filipechagas
Copy link
Contributor

A fix has been released 🚀
Please, let us know if you encounter any further issues.
Thanks for the report!

#577 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests