Chrome Extensions Samples
This report summarizes scanner evidence for GoogleChrome/chrome-extensions-samples, a JavaScript project with 17,832 GitHub stars. SynthScan examined 371,766 lines of code across 2353 source files, recording 310 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 258 finding(s).
Are imports declared and package/API names verified? 45 finding(s).
Are wrappers, guards, and repeated structures necessary? 70 finding(s).
Which changes need focused human review? 310 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 310 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …les/declarativeNetRequest/no-cookies/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …s/declarativeNetRequest/url-redirect/service_worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …es/declarativeNetRequest/url-blocker/service_worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/scripting/index.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/scripting/content-script.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/scripting/sw.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/privacy/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/browsingData/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/browsingData/popup.css | 1 | /** | COMMENT |
| LOW | api-samples/readingList/index.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/readingList/sw.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/richNotification/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/printing/background.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …/fontSettings/fontSettings Advanced/pending_changes.js | 1 | /// Copyright 2023 Google LLC | COMMENT |
| LOW | …-samples/fontSettings/fontSettings Advanced/options.js | 1 | /* eslint-disable no-unused-vars */ | COMMENT |
| LOW | …i-samples/fontSettings/fontSettings Advanced/slider.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/fontSettings/fontSettings Advanced/js/cr.js | 1 | /* eslint-disable no-undef */ | COMMENT |
| LOW | …samples/fontSettings/fontSettings Advanced/js/cr/ui.js | 1 | /* eslint-disable no-undef */ | COMMENT |
| LOW | …fontSettings/fontSettings Advanced/js/cr/ui/overlay.js | 1 | /* eslint-disable no-undef */ | COMMENT |
| LOW | api-samples/fontSettings/fontSettings Basic/popup.js | 1 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| LOW | api-samples/bookmarks/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/devtools/inspectedWindow/panel.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/devtools/inspectedWindow/devtools.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/devtools/panels/devtools.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/sandbox/sandboxed-content/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/sandbox/sandbox/mainpage.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/sandbox/sandbox/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/history/showHistory/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/contentSettings/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/commands/popup.js | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | api-samples/commands/background.js | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | api-samples/windows/background.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/topSites/magic8ball/newTab.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/webRequest/http-auth/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/contextMenus/basic/sample.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/userScripts/user-script.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/userScripts/options.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/userScripts/sw.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | api-samples/webNavigation/basic/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/sample.text-replacer/popup.js | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | functional-samples/sample.text-replacer/background.js | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | functional-samples/sample.text-replacer/content.js | 1 | // Copyright 2026 Google LLC | COMMENT |
| LOW | …-samples/sample.bookmarks/third-party/jquery-1.12.4.js | 1201 | COMMENT | |
| LOW | …mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js | 8041 | // Some browsers only repeat keydown events, not keypress events, | COMMENT |
| LOW | functional-samples/cookbook.file_handlers/view-file.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/tutorial.focus-mode/background.js | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | …onal-samples/cookbook.sidepanel-open/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …tional-samples/sample.tabcapture-recorder/offscreen.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …l-samples/sample.tabcapture-recorder/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/tutorial.tabs-manager/popup.js | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | functional-samples/tutorial.broken-color/popup.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/tutorial.broken-color/options.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …tional-samples/tutorial.broken-color/service-worker.js | 1 | // Copyright 2018 Google LLC | COMMENT |
| LOW | …ional-samples/tutorial.reading-time/scripts/content.js | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | …-samples/cookbook.sidepanel-multiple/service-worker.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/cookbook.offscreen-dom/background.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | functional-samples/cookbook.offscreen-dom/offscreen.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| LOW | …ookbook.permissions-addhostaccessrequest/background.js | 1 | // Copyright 2024 Google LLC | COMMENT |
| LOW | functional-samples/sample.milestones/popup.js | 1 | // Copyright 2022 Google LLC | COMMENT |
| LOW | …al-samples/tutorial.focus-mode-debugging/background.js | 1 | // Copyright 2023 Google LLC | COMMENT |
| 109 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | api-samples/printing/printers.js | 103 | return printerInfo.capabilities.printer.media_size.option.find( | CODE |
| CRITICAL | api-samples/printing/printers.js | 121 | printer.info.capabilities.printer.vendor_capability.some( | CODE |
| CRITICAL | api-samples/devtools/panels/devtools.js | 34 | chrome.devtools.panels.elements.onSelectionChanged.addListener( | CODE |
| CRITICAL | …-samples/sample.bookmarks/third-party/jquery-1.12.4.js | 8517 | jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { | CODE |
| CRITICAL | …xtensions/proxy_configuration/proxy_form_controller.js | 424 | t.parentNode.parentNode.parentNode.classList.contains('active') | CODE |
| CRITICAL | …chive/mv2/api/devtools/panels/chrome-query/devtools.js | 24 | chrome.devtools.panels.elements.onSelectionChanged.addListener( | CODE |
| CRITICAL | …es/managed-in-app-payments/scripts/jquery-2.0.3.min.js | 5 | };"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty. | CODE |
| CRITICAL | …apps/samples/identity/sample_support/sample_support.js | 32 | this.log_area.ownerDocument.defaultView.console.log( | CODE |
| CRITICAL | …ve/apps/samples/window-options/js/jquery-1.10.1.min.js | 5 | }),n=s=l=u=r=o=null,t}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api-samples/scripting/index.js | 17 | async function isDynamicContentScriptRegistered() { | CODE |
| LOW | api-samples/privacy/service-worker.js | 25 | async function updateAutofillEnabledStatus(toggle = false) { | CODE |
| LOW | …i-samples/downloads/download_manager/service-worker.js | 24 | function drawUnknownProgressSpinner(ctx) { | CODE |
| LOW | …-samples/sample.bookmarks/third-party/jquery-1.12.4.js | 9115 | function addToPrefiltersOrTransports( structure ) { | CODE |
| LOW | …-samples/sample.bookmarks/third-party/jquery-1.12.4.js | 9149 | function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { | CODE |
| LOW | …amples/ai.gemini-on-device-calendar-mate/background.js | 108 | function extractTextBetweenCurlyBraces(str) { | CODE |
| LOW | functional-samples/cookbook.offscreen-dom/background.js | 24 | async function sendMessageToOffscreenDocument(type, data) { | CODE |
| LOW | functional-samples/cookbook.offscreen-dom/background.js | 63 | async function handleAddExclamationMarkResult(dom) { | CODE |
| LOW | functional-samples/cookbook.offscreen-dom/offscreen.js | 39 | function addExclamationMarksToHeadings(htmlString) { | CODE |
| LOW | functional-samples/cookbook.push/background.js | 19 | async function subscribeUserVisibleOnlyFalse() { | CODE |
| LOW | functional-samples/cookbook.push/background.js | 38 | function logSubscriptionDataToConsole(subscription) { | CODE |
| LOW | _archive/mv2/extensions/speak_selection/tabs.js | 20 | function loadContentScriptInAllTabs() { | CODE |
| LOW | …ve/mv2/extensions/irc/servlet/jstemplate/jstemplate.js | 914 | function jstLoadTemplateIfNotPresent(doc, name, loadHtmlFn, opt_target) { | CODE |
| LOW | _archive/mv2/extensions/talking_alarm_clock/common.js | 142 | function speakPhraseWithTimeString(timeString) { | CODE |
| LOW | _archive/mv2/extensions/talking_alarm_clock/common.js | 148 | function speakPhraseWithCurrentTime() { | CODE |
| LOW | _archive/mv2/extensions/buildbot/popup.js | 98 | function createPatchsetStatusElement(patchset) { | CODE |
| LOW | _archive/mv2/extensions/buildbot/popup.js | 121 | function getLastFullPatchsetWithTryJobs(issue) { | CODE |
| LOW | _archive/mv2/extensions/plugin_settings/domui/js/cr.js | 35 | function enablePlatformSpecificCSSRules() { | CODE |
| LOW | _archive/mv2/api/tabs/inspector/jstemplate_compiled.js | 460 | function domCreateDocumentFragment(doc) { | CODE |
| LOW | …ve/mv2/api/preferences/allowThirdPartyCookies/popup.js | 114 | function setUseSeparateIncognitoSettings(value) { | CODE |
| LOW | _archive/mv2/api/preferences/enableReferrer/popup.js | 114 | function setUseSeparateIncognitoSettings(value) { | CODE |
| LOW | _archive/mv2/api/displaySource/tabCast/background.js | 51 | function captureTabAndStartSession(sink_id) { | CODE |
| LOW | …chive/mv2/api/downloads/download_manager/background.js | 36 | function drawUnknownProgressSpinner(ctx) { | CODE |
| LOW | _archive/mv2/api/cookies/manager.js | 153 | function scheduleReloadCookieTable() { | CODE |
| LOW | …rchive/apps/samples/webgl-pointer-lock/js/three.min.js | 15597 | function materialNeedsSmoothNormals ( material ) { | CODE |
| LOW | …rchive/apps/samples/webgl-pointer-lock/js/three.min.js | 15625 | function bufferGuessVertexColorType ( material ) { | CODE |
| LOW | …rchive/apps/samples/webgl-pointer-lock/js/three.min.js | 18752 | function unrollImmediateBufferMaterial ( globject ) { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 6796 | function getUnknownTagGenericBrowser(object, tag) { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 8300 | function SecurityPolicyViolationEvent() { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 8912 | function FEComponentTransferElement() { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 9146 | function FESpecularLightingElement() { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 9746 | function OfflineAudioCompletionEvent() { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 10635 | function EfficientLengthMappedIterable(_iterable, _f) { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 11690 | function ConcurrentModificationError(modifiedObject) { | CODE |
| LOW | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 11709 | function CyclicInitializationError(variableName) { | CODE |
| LOW | …ive/apps/samples/webview-samples/user-agent/browser.js | 375 | function findBoxObscuresActiveMatch(findBoxRect, matchRect) { | CODE |
| LOW | …bview-samples/multi-tab-browser/find_box_controller.js | 114 | function containerElementObscuresActiveMatch(findBoxRect, matchRect) { | CODE |
| LOW | …bview-samples/multi-tab-browser/find_box_controller.js | 137 | function setWebviewFindUpdateHandler() { | CODE |
| LOW | …rchive/apps/samples/webview-samples/browser/browser.js | 267 | function findBoxObscuresActiveMatch(findBoxRect, matchRect) { | CODE |
| LOW | _archive/apps/samples/diff/js/filesystem.js | 111 | function registerMenulistitemClicks() { | CODE |
| LOW | _archive/apps/samples/diff/lib/diff_match_patch_test.js | 161 | function assertLinesToCharsResultEquals(a, b) { | CODE |
| LOW | _archive/apps/samples/diff/lib/diff_match_patch_test.js | 277 | function testDiffCleanupSemanticLossless() { | CODE |
| LOW | _archive/apps/samples/diff/lib/diff_match_patch_test.js | 378 | function testDiffCleanupEfficiency() { | CODE |
| LOW | _archive/apps/samples/gdrive/js/app.js | 71 | function successCallbackWithFsCaching(resp, status, headers, config) { | CODE |
| LOW⚡ | _archive/apps/samples/text-editor/editor.js | 75 | function replaceDocContentsFromString(string) { | CODE |
| LOW⚡ | _archive/apps/samples/text-editor/editor.js | 79 | function replaceDocContentsFromFile(file) { | CODE |
| LOW⚡ | _archive/apps/samples/text-editor/editor.js | 89 | function replaceDocContentsFromFileEntry() { | CODE |
| LOW | …/apps/samples/text-editor/lib/ace/edit_session_test.js | 377 | function computeAndAssert(line, assertEqual, wrapLimit, tabSize) { | CODE |
| LOW | …e/apps/samples/text-editor/lib/ace/narcissus/parser.js | 70 | function pushDestructuringVarDecls(n, s) { | CODE |
| LOW | _archive/apps/samples/window-state/window.js | 226 | function updateCurrentStateReadout() { | CODE |
| LOW | _archive/apps/samples/weather/weather.js | 353 | function attemptAddCurrentLocation() { | CODE |
| LOW | _archive/apps/samples/appsquare/main.js | 29 | function fetchCheckinsWithLocation(opt_location) { | CODE |
| LOW⚡ | _archive/apps/samples/window-options/window.js | 112 | function updateCurrentStateReadout() { | CODE |
| LOW | _archive/apps/samples/image-edit/app.js | 222 | function getCropSquareHandlesInCanvasCoords() { | CODE |
| LOW | _archive/apps/samples/clock/script.js | 356 | function getCurrentPosSuccessFunction(position) { | CODE |
| LOW | _archive/apps/samples/clock/script.js | 375 | function getCurrentPosErrorFunction(error) { | CODE |
| LOW | _archive/apps/samples/clock/tests/lib/prototype.js | 2443 | function getContentFromAnonymousElement(tagName, html, force) { | CODE |
| LOW | _archive/apps/samples/clock/tests/lib/prototype.js | 3251 | function checkElementPrototypeDeficiency(tagName) { | CODE |
| LOW | _archive/apps/samples/clock/tests/lib/prototype.js | 6413 | function destroyRegistryForElement(element, uid) { | CODE |
| LOW | _archive/apps/samples/clock/tests/lib/prototype.js | 6517 | function stopObservingStandardEvent(element, eventName, responder) { | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api-samples/downloads/download_manager/popup.js | 21 | setProperty('#q', 'placeholder', 'searchPlaceholder'); | CODE |
| LOW | …mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js | 17347 | element.data( dataSpace + "placeholder", placeholder ); | CODE |
| LOW | …mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js | 17360 | var dataKey = dataSpace + "placeholder", | CODE |
| LOW | _archive/mv2/extensions/gdocs/popup.html | 135 | .attr('placeholder', 'N/A for presentations'); | CODE |
| LOW | _archive/mv2/extensions/gdocs/popup.html | 138 | .attr('placeholder', 'Enter document content'); | CODE |
| LOW | _archive/mv2/api/downloads/download_manager/popup.js | 23 | setProperty('#q', 'placeholder', 'searchPlaceholder'); | CODE |
| LOW | …s/samples/webview-samples/local-resources/trusted.html | 8 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis | CODE |
| LOW | …s/samples/webview-samples/local-resources/trusted.html | 8 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis | CODE |
| LOW | …pps/samples/text-editor/lib/ace/token_iterator_test.js | 107 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", | CODE |
| LOW | …pps/samples/text-editor/lib/ace/token_iterator_test.js | 107 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit,", | CODE |
| LOW⚡ | …-editor/lib/ace/editor_highlight_selected_word_test.js | 52 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | …-editor/lib/ace/editor_highlight_selected_word_test.js | 52 | var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " + | CODE |
| LOW⚡ | …-editor/lib/ace/editor_highlight_selected_word_test.js | 62 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + | CODE |
| LOW⚡ | …-editor/lib/ace/editor_highlight_selected_word_test.js | 62 | "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " + | CODE |
| LOW | …ive/apps/samples/mini-code-edit/cm/mode/rst/index.html | 405 | Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_ | CODE |
| LOW | …ive/apps/samples/mini-code-edit/cm/mode/rst/index.html | 405 | Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_ | CODE |
| LOW | …ive/apps/samples/mini-code-edit/cm/mode/rst/index.html | 423 | Lorem ipsum [Ref]_ dolor sit amet. | CODE |
| LOW | …ive/apps/samples/mini-code-edit/cm/mode/rst/index.html | 423 | Lorem ipsum [Ref]_ dolor sit amet. | CODE |
| LOW | …s/samples/bluetooth-samples/battery-service-demo/ui.js | 82 | var placeHolder = document.getElementById('placeholder'); | CODE |
| LOW | …mples/bluetooth-samples/battery-service-demo/main.html | 23 | <option id="placeholder" value="" disabled selected> | CODE |
| LOW | …/apps/samples/bluetooth-samples/device-info-demo/ui.js | 104 | var placeHolder = document.getElementById('placeholder'); | CODE |
| LOW | …s/samples/bluetooth-samples/device-info-demo/main.html | 23 | <option id="placeholder" value="" disabled selected> | CODE |
| LOW | …apps/samples/bluetooth-samples/heart-rate-sensor/ui.js | 87 | var placeHolder = document.getElementById('placeholder'); | CODE |
| LOW | …/samples/bluetooth-samples/heart-rate-sensor/main.html | 23 | <option id="placeholder" value="" disabled selected> | CODE |
| LOW | _archive/apps/samples/window-options/window.js | 22 | value = $('#' + numberEdit).attr('placeholder'); | CODE |
| LOW⚡ | _archive/apps/samples/window-options/window.js | 116 | setBounds(win.innerBounds, 'inner', 'placeholder'); | CODE |
| LOW⚡ | _archive/apps/samples/window-options/window.js | 117 | setBounds(win.outerBounds, 'outer', 'placeholder'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/fontSettings/fontSettings Advanced/pending_changes.js | 14 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | …-samples/fontSettings/fontSettings Advanced/options.js | 3 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | …i-samples/fontSettings/fontSettings Advanced/slider.js | 14 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | api-samples/fontSettings/fontSettings Advanced/js/cr.js | 4 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | …samples/fontSettings/fontSettings Advanced/js/cr/ui.js | 2 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | …fontSettings/fontSettings Advanced/js/cr/ui/overlay.js | 2 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | api-samples/fontSettings/fontSettings Basic/popup.js | 1 | // Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstration | COMMENT |
| MEDIUM | …-samples/sample.bookmarks/third-party/jquery-1.12.4.js | 10961 | // understands anonymous AMD modules. A named AMD is safest and most robust | COMMENT |
| MEDIUM | …chive/apps/samples/mini-code-edit/cm/lib/codemirror.js | 33 | '<pre class="CodeMirror-cursor"> </pre>' + // Absolutely positioned blinky cursor | CODE |
| MEDIUM | …chive/apps/samples/mini-code-edit/cm/lib/codemirror.js | 33 | '<pre class="CodeMirror-cursor"> </pre>' + // Absolutely positioned blinky cursor | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 40 | # -------------- | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 109 | # -------------------- | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 282 | # --------------- | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 391 | # ------------------ | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 450 | # ---------------- | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 583 | # ----------------- | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 667 | # --------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …l-samples/cookbook.wasm-helloworld-print/background.js | 12 | print(); | CODE |
| HIGH | …chive/apps/samples/dart/dart/clock.dart.precompiled.js | 6518 | print(string); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 92 | # Create a safe reference to the Underscore object for use below. | COMMENT |
| MEDIUM | …samples/mini-code-edit/cm/mode/coffeescript/index.html | 393 | # Create a function bound to a given object (assigning `this`, and arguments, | COMMENT |
| MEDIUM | …ve/apps/samples/mini-code-edit/cm/mode/ruby/index.html | 82 | # Create a string of the polynomial in sort-of-readable form. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js | 10941 | // Format a name, short or long as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 13 | CODE | |
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 14 | CODE | |
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 15 | CODE | |
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 16 | CODE | |
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 19 | CODE | |
| LOW | …ps/samples/appengine-channelapi/appengine/chatactoe.py | 24 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | _archive/apps/samples/web-store/js/zip/zip.js | 186 | function getData(callback, onerror) { | CODE |
| LOW | _archive/apps/samples/web-store/js/zip/zip.js | 295 | function getData(callback, onerror) { | CODE |
| LOW | _archive/apps/samples/web-store/js/zip/zip.js | 333 | function getData(callback) { | CODE |
| LOW | _archive/apps/samples/web-store/js/zip/zip.js | 366 | function getData(callback) { | CODE |
| LOW | _archive/apps/samples/web-store/js/zip/zip.js | 394 | function getData(callback) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | _archive/apps/samples/gcm-notifications/register.js | 41 | apiKey = "YOUR_API_KEY"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/apps/samples/text-editor/lib/ace/edit_session_test.js | 811 | // TODO: Add test for inseration inside of folds. | COMMENT |
| LOW | …hive/apps/samples/io2012-presentation/js/slide-deck.js | 155 | // TODO: implement refresh on main slides when popup is refreshed. | COMMENT |
| LOW | _archive/apps/samples/mdns-browser/dns.js | 217 | // TODO: implement .bytes() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .repo/sample-list-generator/src/libs/api-detector.ts | 135 | // So we need to check if the first two parts combined is a valid namespace. | COMMENT |
| LOW | …mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js | 14321 | // IE sets focus asynchronously, so we need to check if focus | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | _archive/apps/samples/dojo/Markdown_1.0.1/Markdown.pl | 472 | # Must come after _DoAnchors(), because you can use < and > | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ve/apps/samples/mini-code-edit/cm/mode/ruby/index.html | 87 | # Assign exponents to each term, making pairs of coeff and exponent, | COMMENT |