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

Not works on Firefox browser #577

Closed
2 of 5 tasks
sbotirov opened this issue Apr 19, 2022 · 18 comments
Closed
2 of 5 tasks

Not works on Firefox browser #577

sbotirov opened this issue Apr 19, 2022 · 18 comments
Labels

Comments

@sbotirov
Copy link

sbotirov commented Apr 19, 2022

Issue

Development Environment:

  • Machine (Local, Container, Virtual):
  • Operating System (Name/Version): MacOS 12.3.1
  • Web Browser (Name/Version): Firefox
  • Vapor Version:
  • Swift Version:

Expected Behavior:

Generate gitignore file for swift ios projects

Actual Behavior:

Create button doesn't works when click to it

Reproduction Steps:

Just open: gitignore.io web site and type Swift to input field then press to create button

image

@Isitar
Copy link

Isitar commented Apr 19, 2022

#576

only happens with add block

@PhoneixS
Copy link

PhoneixS commented Apr 22, 2022

It happens to me, this is the console output:

Solicitud de origen cruzado bloqueada: La misma política de origen no permite la lectura de recursos remotos en https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194. (Razón: Solicitud CORS sin éxito). Código de estado: (null).

Ninguno de los hashes "sha512" en el atributo integrity coinciden con el contenido del subrecurso. [gitignore](https://www.toptal.com/developers/gitignore)
Solicitud de origen cruzado bloqueada: La misma política de origen no permite la lectura de recursos remotos en https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194. (Razón: Solicitud CORS sin éxito). Código de estado: (null).

Ninguno de los hashes "sha512" en el atributo integrity coinciden con el contenido del subrecurso. gitignore
El recurso en “https://www.toptal.com/developers/[gitignore](https://www.toptal.com/developers/gitignore)/fonts/ProximaNova-Regular.woff” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. gitignore
El recurso en “https://www.toptal.com/developers/gitignore/fonts/ProximaNova-Regular.woff2” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. [gitignore](https://www.toptal.com/developers/gitignore)
El recurso en “https://www.toptal.com/developers/gitignore/fonts/ProximaNova-Regular.otf” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. gitignore
El recurso en “https://www.toptal.com/developers/[gitignore](https://www.toptal.com/developers/gitignore)/fonts/ProximaNova-Semibold.woff” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. gitignore
El recurso en “https://www.toptal.com/developers/[gitignore](https://www.toptal.com/developers/gitignore)/fonts/ProximaNova-Semibold.woff2” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. gitignore
El recurso en “https://www.toptal.com/developers/[gitignore](https://www.toptal.com/developers/gitignore)/fonts/ProximaNova-Semibold.otf” precargado con precarga de enlace no se usó en unos pocos segundos. Asegúrese de que todos los atributos de la etiqueta de preload estén configurados correctamente. gitignore

It could be because of the wrong CORS configuration or is it an unrelated library?

I have Adblock Plus but I disabled it and it still doesn't do anything after clicking the create button. I have tested it on Chrome with also ABP activated and it genereate the file correctly.

@Yalchin403
Copy link

Happens to me too, any solutions?

@wlkr
Copy link

wlkr commented Apr 30, 2022

In the meantime I've found that you can use the API directly to workaround this, e.g. https://www.toptal.com/developers/gitignore/api/Swift,macOS?format=lines. It seems this has already been identified in a parallel issue.

@mauvehed
Copy link

mauvehed commented May 4, 2022

Same issue here. I have DNS adblock, browser adblock extensions, strict privacy controls, etc. I have no idea which one of these broke it, so I can't just fix it. For now I have to use Chrome which is odd since it also uses the similar DNS adblock, browser extensions, privacy controls, etc.

@PhoneixS
Copy link

PhoneixS commented May 5, 2022

I have just tried again in Firefox and it is running ok for me now.

@rungxanh1995
Copy link

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

@animalillo
Copy link

animalillo commented May 17, 2022

It's not working here with firefox 100.0 on linux, can pick the tags, but the "Create" button does nothing at all

@Th3Ph4nt0m
Copy link

I'm having the same problem with Brave (Version 1.38.119 Chromium: 101.0.4951.67 (Official Build) (64-bit)) on Windows 10. However, it works for me in Firefox (Developer Edition).

@leonidpodriz
Copy link

Try to check for privacy extensions in your browser. I had the same problem, but everything works fine after disabling the "DuckDuckGo Privacy Essentials" extension.

@filipechagas
Copy link
Contributor

Thanks for reporting!

We have added this issue to our backlog and should be releasing a fix soon.

Also relates to #576

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

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

@MarcusOtter
Copy link

Hi @filipechagas, thanks for the update. This does still not work in firefox for me. But it started working in Chrome again :)
Firefox version: 101.0.1.
Does not work in incognito or normal, and it's the same problem as before, nothing happens when the button is pressed.

@filipechagas
Copy link
Contributor

That's interesting.
I'm testing on Firefox 101.0.1 (64-bit) on macOS Monterrey 12.14. With DuckDuckGo Privacy Essentials and uBlock Origin enabled.
On top of that, I have Pi-hole blocking advertisement and Internet tracking. It's working here, both in incognito and normal.

Can you please make sure you have cleared cache?

@filipechagas filipechagas reopened this Jun 21, 2022
@MarcusOtter
Copy link

MarcusOtter commented Jun 21, 2022

I'm also just running uBlock Origin. Cache is clear, still no go. The only difference I can tell from your setup is that I'm on Windows, and I'm on a VPN with NetShield which should be similar to Pi-hole. The only network requests that are blocked by uBlock are the ones to static.cloudflareinsights.com which I assume is okay.

Console has this error twice, but otherwise only warnings (except for the uBlock requests previously mentioned):

None of the "sha512" hashes in the integrity attribute match the content of the subresource.

No luck in disabling the VPN either.

@rajrupdasofficial
Copy link

Umm , issue still exists , even with no ad block

@filipechagas
Copy link
Contributor

Hi folks!

Thanks again for the valuable feedback!
We’ve implemented new changes into the app to make sure we’re covering all the scenarios.

Can you please take another look and let me know how things are going now?

I’ve already god a feedback from @RajrupDasid #583 (comment)

@MarcusOtter
Copy link

Works for me 🥳 Thanks!

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