google_translate_this icon indicating copy to clipboard operation
google_translate_this copied to clipboard

stack overflow and duck duck go don't work well after new CSP support was added

Open andreicristianpetcu opened this issue 6 years ago • 8 comments

Broken sites

  • [x] https://stackoverflow.com/
  • [x] https://duckduckgo.com/
  • [x] https://photos.google.com/
  • [ ] https://news.google.com/
  • [x] https://www.mail.com/
  • [x] https://accounts.google.com
  • [ ] https://myaccount.google.com
  • [x] https://www.kabum.com.br/
  • [x] https://www.twitter.com
  • [ ] https://mobile.twitter.com/random_walker/status/1164945882745376769

image image

andreicristianpetcu avatar Jul 26 '19 07:07 andreicristianpetcu

https://photos.google.com/ image

andreicristianpetcu avatar Jul 26 '19 09:07 andreicristianpetcu

https://news.google.com/ too.

BooBerry avatar Jul 28 '19 16:07 BooBerry

Fixed ddg.gg and google photos. Did not have time yet for google news and stack overflow :(

https://github.com/andreicristianpetcu/google_translate_this/releases/tag/v2.0.1

andreicristianpetcu avatar Jul 29 '19 19:07 andreicristianpetcu

@andreicristianpetcu https://www.mail.com/ too. image

xitero avatar Jul 31 '19 04:07 xitero

Thank you both @xitero and @BooBerry for testing and reporting :smile:

andreicristianpetcu avatar Jul 31 '19 10:07 andreicristianpetcu

https://accounts.google.com and https://myaccount.google.com too. image image

xitero avatar Aug 01 '19 02:08 xitero

https://kabum.com.br image

xitero avatar Aug 03 '19 02:08 xitero

I tried to fix the remaining issues. It's really complicated since CSP is hard. I have this PR that I'm working on. Since this is so complicated to fix, I decided to implement this feature first. Currently pages work until you attempt to translate them.

Also I pushed the update for all users since it will not mess up existing pages.

andreicristianpetcu avatar Aug 17 '19 17:08 andreicristianpetcu