Google Charts #167

Closed
opened 11 months ago by nobody · 2 comments
nobody commented 11 months ago
Owner

Reported via email:

https://rateyourmusic.com/ (simple "dropdown" animations)

Framework: https://www.gstatic.com/charts/pre-45/loader.js

Based on the source code of the website, Google documentation and W3C the framework can be found here: https://www.gstatic.com/charts/loader.js

Note: The domain gstatic.com also delivers other things. If users just copy and paste the adblocker rules, all other things are either blocked or allowed. This depends on the LocalCDN settings. That' s why I have excluded this domain from the rule generator. This means that the user in Adblocker has to allow the connection for an affected website to be forwarded to LocalCDN.

Reported via email: > `https://rateyourmusic.com/` (simple "dropdown" animations) > > Framework: `https://www.gstatic.com/charts/pre-45/loader.js` Based on the source code of the website, Google documentation and W3C the framework can be found here: `https://www.gstatic.com/charts/loader.js` **Note:** The domain gstatic.com also delivers other things. If users just copy and paste the adblocker rules, all other things are either blocked or allowed. This depends on the LocalCDN settings. That' s why I have [excluded this domain from the rule generator](https://codeberg.org/nobody/LocalCDN/src/commit/c23fc4365ea29ea76aa16986d1fe2eae4b6525ea/modules/internal/rule-generator.js#L36). This means that the user in Adblocker has to allow the connection for an affected website to be forwarded to LocalCDN. * https://www.w3schools.com/howto/howto_google_charts.asp * https://developers.google.com/chart/interactive/docs/basic_load_libs
nobody added this to the v2.5.7 milestone 11 months ago
nobody added the
missing framework/mapping
label 11 months ago
nobody referenced this issue from a commit 11 months ago
nobody referenced this issue from a commit 11 months ago
nobody closed this issue 11 months ago
nobody referenced this issue from a commit 11 months ago
Poster
Owner

You are right there. Thank you for pointing that out. 👍

You are right there. Thank you for pointing that out. :+1:
Poster
Owner

A user informed me that it is not allowed to use Google Chart "offline".

Can I use charts offline?
Your users' computers must have access to https://www.gstatic.com/charts/loader.js in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included script, and is called when you invoke the google.charts.load() method. Our terms of service do not allow you to download the google.charts.load or google.visualization code to use offline.

Can I download and host the chart code locally, or on an intranet?
Sorry; our terms of service do not allow you to download and save or host the google.charts.load or google.visualization code. However, if you don't need the interactivity of Google Charts, you can screenshot the charts and use them as you wish.

https://developers.google.com/chart/interactive/faq

Therefore I have removed Google Charts. (The integrated Google Charts were unfortunately incomplete)

A user informed me that it is not allowed to use Google Chart "offline". >**Can I use charts offline?** >Your users' computers must have access to https://www.gstatic.com/charts/loader.js in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included script, and is called when you invoke the `google.charts.load()` method. Our [terms of service](https://developers.google.com/chart/terms) do not allow you to download the `google.charts.load` or `google.visualization` code to use offline. > > **Can I download and host the chart code locally, or on an intranet?** >Sorry; our [terms of service](https://developers.google.com/chart/terms) do not allow you to download and save or host the `google.charts.load` or `google.visualization` code. However, if you don't need the interactivity of Google Charts, you can screenshot the charts and use them as you wish. https://developers.google.com/chart/interactive/faq Therefore I have removed Google Charts. (The integrated Google Charts were unfortunately incomplete)
nobody referenced this issue from a commit 8 months ago
nobody added
wontfix
and removed
missing framework/mapping
labels 8 months ago
nobody removed this from the v2.5.7 milestone 8 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.