Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
a0db8476
Unverified
Commit
a0db8476
authored
Mar 22, 2021
by
yann300
Committed by
GitHub
Mar 22, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #995 from ethereum/disableMatomo
Disable matomo
parents
bc68a881
55e34a27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app.js
apps/remix-ide/src/app.js
+6
-1
index.html
apps/remix-ide/src/index.html
+2
-2
No files found.
apps/remix-ide/src/app.js
View file @
a0db8476
...
@@ -366,7 +366,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -366,7 +366,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
}
}
// Ask to opt in to Matomo for remix, remix-alpha and remix-beta
// Ask to opt in to Matomo for remix, remix-alpha and remix-beta
if
(
window
.
location
.
hostname
.
includes
(
'.ethereum.org'
)
&&
!
registry
.
get
(
'config'
).
api
.
exists
(
'settings/matomo-analytics'
))
{
const
matomoDomains
=
{
'remix-alpha.ethereum.org'
:
27
,
'remix-beta.ethereum.org'
:
25
// 'remix.ethereum.org': 23
}
if
(
matomoDomains
[
window
.
location
.
hostname
]
&&
!
registry
.
get
(
'config'
).
api
.
exists
(
'settings/matomo-analytics'
))
{
modalDialog
(
modalDialog
(
'Help us to improve Remix IDE'
,
'Help us to improve Remix IDE'
,
yo
`
yo
`
...
...
apps/remix-ide/src/index.html
View file @
a0db8476
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
const
domains
=
{
const
domains
=
{
'remix-alpha.ethereum.org'
:
27
,
'remix-alpha.ethereum.org'
:
27
,
'remix-beta.ethereum.org'
:
25
,
'remix-beta.ethereum.org'
:
25
'remix.ethereum.org'
:
23
//
'remix.ethereum.org': 23
}
}
if
(
domains
[
window
.
location
.
hostname
])
{
if
(
domains
[
window
.
location
.
hostname
])
{
var
_paq
=
window
.
_paq
=
window
.
_paq
||
[]
var
_paq
=
window
.
_paq
=
window
.
_paq
||
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment