File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
src/features/runtime-checks
unit-test/script-overload-snapshots/out Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ export function wrapScriptCodeOverload (code, config) {
155
155
});
156
156
`
157
157
return removeIndent ( `(function (parentScope) {
158
+ /**
159
+ * DuckDuckGo Runtime Checks injected code.
160
+ * If you're reading this, you're probably trying to debug a site that is breaking due to our runtime checks.
161
+ * Please raise an issues on our GitHub repo: https://github.com/duckduckgo/content-scope-scripts/
162
+ */
158
163
${ constructProxy . toString ( ) }
159
164
${ prepend }
160
165
${ code }
Original file line number Diff line number Diff line change 1
1
( function ( parentScope ) {
2
+ /**
3
+ * DuckDuckGo Runtime Checks injected code.
4
+ * If you're reading this, you're probably trying to debug a site that is breaking due to our runtime checks.
5
+ * Please raise an issues on our GitHub repo: https://github.com/duckduckgo/content-scope-scripts/
6
+ */
2
7
function constructProxy ( scope , outputs ) {
3
8
if ( Object . is ( scope ) ) {
4
9
// Should not happen, but just in case fail safely
Original file line number Diff line number Diff line change 1
1
( function ( parentScope ) {
2
+ /**
3
+ * DuckDuckGo Runtime Checks injected code.
4
+ * If you're reading this, you're probably trying to debug a site that is breaking due to our runtime checks.
5
+ * Please raise an issues on our GitHub repo: https://github.com/duckduckgo/content-scope-scripts/
6
+ */
2
7
function constructProxy ( scope , outputs ) {
3
8
if ( Object . is ( scope ) ) {
4
9
// Should not happen, but just in case fail safely
You can’t perform that action at this time.
0 commit comments