Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Chrome Adobe Experience Cloud Debugger: Incorrectly injects Javascript into XML responses

Avatar

Level 2

When I have the Chrome Adobe Experience Cloud Debugger installed (version 0.0.820) and open an XML resource in the browser, the source code contains the injected javascript from this extension as well.

To reproduce just open the following URL with Chrome with the extension installed: https://search.maven.org/remotecontent?filepath=org/apache/aries/parent/2.1.0/parent-2.1.0.pom

Expected:

<!--

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<!--

This file was based on the Geronimo Genesis Parent Pom

-->

<modelVersion>4.0.0</modelVersion>

<parent>

<groupId>org.apache</groupId>

<artifactId>apache</artifactId>

<version>20</version>

<relativePath/>

</parent>

<groupId>org.apache.aries</groupId>

<artifactId>parent</artifactId>

<name>Aries :: Parent POM</name>

<version>2.1.0</version>

<packaging>pom</packaging>

<description> Aries parent pom </description>

<url>http://aries.apache.org</url>

....

Actual:

<!--

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<script>

!function(){var a,b,c,d,e=window,f="adobe.experienceCloud.debugger",g={};a={getSummary:{},getDTMSwitchInformation:{},setDebug:{},useStagingLibrary:{},getLaunchSwitchInformation:{},setLaunchDebug:{},targetMboxHighlightOn:{},targetMboxHighlightOff:{},retrieveMCData:{},executeAuditorTests:{}},b={getPerformance:{}},c={blockDTM:{},replaceDtmEmbedCode:{},insertLaunchEmbedCode:{},replaceLaunchEmbedCode:{},enableTargetMboxTraces:{},enableTargetMboxDisable:{},enableTargetMboxDebug:{},getTargetToken:{},connectToDebugger:{},disconnectFromDebugger:{}},d={},g.pageScript=a,g.contentScript=b,g.backgroundScript=c,g.appScript=d,e[f]={},e[f].api=g}();!function(){function a(){return!(!m._satellite||!m._satellite._container)}function b(){return!(!m._satellite||!m._satellite.configurationSettings)}function c(){var a=[];if(!m._satellite||!m._satellite._container||!m._satellite._container.extensions)return a;var b=m._satellite._container.extensions;for(var c in b){var d=b[c];d&&d.displayName&&a.push({name:c,displayName:d.displayName,hostedLibFilesBaseUrl:d.hostedLibFilesBaseUrl})}return a.sort(function(a,b){return a.displayName>b.displayName}),a}var

...

0 Replies