Open Site Review Report
- Targets: defaults, not ie <= 11
- Unsupported threshold: 10%
- Polyfill removable threshold: 5%
- Files scanned: 88
- Findings: 27
- Scan mode: URL crawl (same-origin assets only)
[HIGH] Uses nullish coalescing operator
- Type: too-new
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:6
- Message: Feature may be too new for target browsers (14.7% unsupported).
- Why it matters: Nullish coalescing can simplify defaults while avoiding falsy-value bugs, but legacy browsers need transpilation.
- Recommendation: Transpile this syntax for older browser support or gate usage to modern bundles only.
- Can I Use feature: mdn-javascript_operators_nullish_coalescing
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'mdn-javascript_operators_nullish_coalescing' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
[HIGH] Uses JavaScript optional chaining
- Type: too-new
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/jquery-ui.min.js:7
- Message: Feature may be too new for target browsers (14.7% unsupported).
- Why it matters: Optional chaining improves readability and safety, but very old browsers require transpilation.
- Recommendation: If older browsers are in scope, transpile this syntax and serve appropriate bundles.
- Can I Use feature: mdn-javascript_operators_optional_chaining
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'mdn-javascript_operators_optional_chaining' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Optional_chaining
[HIGH] Uses document.write
- Type: deprecated-pattern
- Location: https://administracion.gob.es/pagFront/ruxitagentjs_ICA7NVfgqrux_10331260218130851.js:67
- Message: Legacy pattern relies on a deprecated web platform feature.
- Why it matters: document.write can block parsing, hurt performance, and create maintainability and security risk.
- Recommendation: Replace with DOM APIs or server-side rendering patterns that avoid parser-blocking behavior.
- Can I Use feature: documentwrite
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'documentwrite' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/API/Document/write
[HIGH] Uses nullish coalescing operator
- Type: too-new
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:6
- Message: Feature may be too new for target browsers (14.7% unsupported).
- Why it matters: Nullish coalescing can simplify defaults while avoiding falsy-value bugs, but legacy browsers need transpilation.
- Recommendation: Transpile this syntax for older browser support or gate usage to modern bundles only.
- Can I Use feature: mdn-javascript_operators_nullish_coalescing
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'mdn-javascript_operators_nullish_coalescing' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
[HIGH] Uses JavaScript optional chaining
- Type: too-new
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/jquery-ui.min.js:7
- Message: Feature may be too new for target browsers (14.7% unsupported).
- Why it matters: Optional chaining improves readability and safety, but very old browsers require transpilation.
- Recommendation: If older browsers are in scope, transpile this syntax and serve appropriate bundles.
- Can I Use feature: mdn-javascript_operators_optional_chaining
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'mdn-javascript_operators_optional_chaining' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Optional_chaining
[HIGH] Uses document.write
- Type: deprecated-pattern
- Location: https://administracion.gob.es/ruxitagentjs_ICA7NVfgqrux_10331260218130851.js:67
- Message: Legacy pattern relies on a deprecated web platform feature.
- Why it matters: document.write can block parsing, hurt performance, and create maintainability and security risk.
- Recommendation: Replace with DOM APIs or server-side rendering patterns that avoid parser-blocking behavior.
- Can I Use feature: documentwrite
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'documentwrite' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/API/Document/write
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/front-script.js:10
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Uses synchronous XMLHttpRequest
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/lib/ajax.js:250
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Synchronous XHR blocks the main thread and degrades responsiveness and accessibility.
- Recommendation: Move to async fetch/XMLHttpRequest patterns and handle loading states without blocking UI interaction.
- Can I Use feature: xmlhttprequest
- Unsupported target share: 14.7%
- Compatibility source: mdn-bcd
- Compatibility note: Can I Use feature 'xmlhttprequest' unavailable; used MDN fallback.
- Unsupported targets: and_qq 14.9, and_uc 15.5, kaios 3.0-3.1, kaios 2.5, op_mini all
- MDN: https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/lib/utils.js:6
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/ajax-buzon.js:9
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/calendario/datepicker-dialog.min.js:1
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Imports core-js or babel-polyfill
- Type: polyfill-review
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/es5-sham.min.js:2
- Message: Polyfill may still be required for some targets (82.4% unsupported).
- Why it matters: Global polyfill bundles can increase JS size and execution cost.
- Recommendation: Prefer targeted polyfills and differential serving to reduce bundle cost.
- Can I Use feature: es6
- Unsupported target share: 82.4%
- Compatibility source: caniuse
- Unsupported targets: and_chr 145, and_ff 147, and_qq 14.9, and_uc 15.5, android 145, chrome 146, chrome 145, chrome 144, chrome 143, chrome 139, chrome 133, chrome 131, chrome 116, chrome 112, chrome 109, edge 145, edge 144, firefox 148, firefox 147, firefox 140, kaios 3.0-3.1, kaios 2.5, op_mini all, op_mob 80, opera 127, opera 126, samsung 29, samsung 28
[LOW] Imports core-js or babel-polyfill
- Type: polyfill-review
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:2
- Message: Polyfill may still be required for some targets (82.4% unsupported).
- Why it matters: Global polyfill bundles can increase JS size and execution cost.
- Recommendation: Prefer targeted polyfills and differential serving to reduce bundle cost.
- Can I Use feature: es6
- Unsupported target share: 82.4%
- Compatibility source: caniuse
- Unsupported targets: and_chr 145, and_ff 147, and_qq 14.9, and_uc 15.5, android 145, chrome 146, chrome 145, chrome 144, chrome 143, chrome 139, chrome 133, chrome 131, chrome 116, chrome 112, chrome 109, edge 145, edge 144, firefox 148, firefox 147, firefox 140, kaios 3.0-3.1, kaios 2.5, op_mini all, op_mob 80, opera 127, opera 126, samsung 29, samsung 28
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:6
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/jquery-ui.min.js:12
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/jquery.mCustomScrollbar.js:60
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pag_Home/resources/templating-kit/themes/pag/js/libs/jquery.min.js:3
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/pagFront/ruxitagentjs_ICA7NVfgqrux_10331260218130851.js:176
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/front-script.js:10
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/ajax-buzon.js:9
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Imports core-js or babel-polyfill
- Type: polyfill-review
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/es5-sham.min.js:2
- Message: Polyfill may still be required for some targets (82.4% unsupported).
- Why it matters: Global polyfill bundles can increase JS size and execution cost.
- Recommendation: Prefer targeted polyfills and differential serving to reduce bundle cost.
- Can I Use feature: es6
- Unsupported target share: 82.4%
- Compatibility source: caniuse
- Unsupported targets: and_chr 145, and_ff 147, and_qq 14.9, and_uc 15.5, android 145, chrome 146, chrome 145, chrome 144, chrome 143, chrome 139, chrome 133, chrome 131, chrome 116, chrome 112, chrome 109, edge 145, edge 144, firefox 148, firefox 147, firefox 140, kaios 3.0-3.1, kaios 2.5, op_mini all, op_mob 80, opera 127, opera 126, samsung 29, samsung 28
[LOW] Imports core-js or babel-polyfill
- Type: polyfill-review
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:2
- Message: Polyfill may still be required for some targets (82.4% unsupported).
- Why it matters: Global polyfill bundles can increase JS size and execution cost.
- Recommendation: Prefer targeted polyfills and differential serving to reduce bundle cost.
- Can I Use feature: es6
- Unsupported target share: 82.4%
- Compatibility source: caniuse
- Unsupported targets: and_chr 145, and_ff 147, and_qq 14.9, and_uc 15.5, android 145, chrome 146, chrome 145, chrome 144, chrome 143, chrome 139, chrome 133, chrome 131, chrome 116, chrome 112, chrome 109, edge 145, edge 144, firefox 148, firefox 147, firefox 140, kaios 3.0-3.1, kaios 2.5, op_mini all, op_mob 80, opera 127, opera 126, samsung 29, samsung 28
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/es5-shim.min.js:6
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/jquery-ui.min.js:12
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/jquery.mCustomScrollbar.js:60
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/resources/templating-kit/themes/pag/js/libs/jquery.mousewheel.js:64
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector
[LOW] Detects legacy jQuery usage
- Type: legacy-modernization-opportunity
- Location: https://administracion.gob.es/ruxitagentjs_ICA7NVfgqrux_10331260218130851.js:176
- Message: Pattern has modern native alternatives that may reduce code weight.
- Why it matters: Many DOM tasks historically handled by jQuery are now covered by standard APIs.
- Recommendation: Evaluate whether targeted vanilla replacements can reduce dependency and improve startup performance.
- Can I Use feature: queryselector
- Unsupported target share: 0.0%
- Compatibility source: caniuse
- MDN: https://developer.mozilla.org/docs/Web/API/Document/querySelector