[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #31709 [Webpages/Website]: Add the Digital Climate Strike code to the Tor Website
#31709: Add the Digital Climate Strike code to the Tor Website
----------------------------------+--------------------
Reporter: teor | Owner: hiro
Type: task | Status: new
Priority: High | Milestone:
Component: Webpages/Website | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID: #31708
Points: | Reviewer:
Sponsor: |
----------------------------------+--------------------
Please add the Digital Climate Strike code to the Tor Website, by
following the Self-Hosted instructions:
https://github.com/fightforthefuture/digital-climate-strike#option-2-self-
hosted
We'll also want to set these options before loading the script:
{{{
<script type="text/javascript">
var DIGITAL_CLIMATE_STRIKE_OPTIONS = {
/* The Tor website base URL */
iframeHost: 'https://www.torproject.org',
/* Disable Google Analytics, for user privacy */
disableGoogleAnalytics: true,
/* Let users dismiss the banner, and use the Tor website */
showCloseButtonOnFullPageWidget: true,
};
</script>
<script src="widget.js" async></script>
}}}
For more details, see:
https://github.com/fightforthefuture/digital-climate-strike#customization-
options
More info about the Digital Climate Strike, see:
https://digital.globalclimatestrike.net/
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31709>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs