Skip to content

Commit 9ff5114

Browse files
chore: remove innerText collection from NR1 (#1515)
1 parent 1a2e06c commit 9ff5114

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/actions/build-ab/templates/experiments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ window.NREUM.init.proxy = {} // Proxy won't work for experiments
77
window.NREUM.init.session_replay.enabled = false // disabled for now to not double wrap the page which can cause extra processing burden
88
window.NREUM.init.session_trace.enabled = false // disabled for now to not double wrap the page which can cause extra processing burden
99
window.NREUM.init.feature_flags = ['ajax_metrics_deny_list','soft_nav']
10-
window.NREUM.init.user_actions = {elementAttributes: ['id', 'className', 'tagName', 'type', 'innerText', 'textContent', 'ariaLabel', 'alt', 'title']}
10+
window.NREUM.init.user_actions = {elementAttributes: ['id', 'className', 'tagName', 'type', 'ariaLabel', 'alt', 'title']}
1111

1212
{{#if experimentScripts}}
1313
{{#each experimentScripts}}

.github/actions/build-ab/templates/latest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ window.NREUM.init.proxy.assets = 'https://staging-js-agent.newrelic.com/dev'
77
window.NREUM.init.feature_flags = ['soft_nav','ajax_metrics_deny_list']
88
window.NREUM.init.session_replay.enabled = false // disabled for now to not double wrap the page which can cause extra processing burden
99
window.NREUM.init.session_trace.enabled = false // disabled for now to not double wrap the page which can cause extra processing burden
10-
window.NREUM.init.user_actions = {elementAttributes: ['id', 'className', 'tagName', 'type', 'innerText', 'textContent', 'ariaLabel', 'alt', 'title']}
10+
window.NREUM.init.user_actions = {elementAttributes: ['id', 'className', 'tagName', 'type', 'ariaLabel', 'alt', 'title']}
1111

1212
{{{latestScript}}}

.github/actions/build-ab/templates/postamble.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ window.NREUM.info.licenseKey = '{{{args.licenseKey}}}'
77
window.NREUM.init.proxy = {}
88
window.NREUM.init.session_replay.enabled = true
99
window.NREUM.init.session_trace.enabled = true
10-
window.NREUM.init.user_actions = { elementAttributes: ['id', 'className', 'tagName', 'type', 'innerText', 'textContent', 'ariaLabel', 'alt', 'title'] }
10+
window.NREUM.init.user_actions = { elementAttributes: ['id', 'className', 'tagName', 'type', 'ariaLabel', 'alt', 'title'] }
1111

1212
// Session replay entitlements check
1313
try {

.github/actions/build-ab/templates/released.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ window.NREUM={
3636
}
3737
},
3838
proxy: {},
39-
user_actions: {elementAttributes: ['id', 'className', 'tagName', 'type', 'innerText', 'textContent', 'ariaLabel', 'alt', 'title']}
39+
user_actions: {elementAttributes: ['id', 'className', 'tagName', 'type', 'ariaLabel', 'alt', 'title']}
4040
},
4141
loader_config: {
4242
accountID: '1',

0 commit comments

Comments
 (0)