Search by

sec / block-javascript

uxcart

Block unwanted Javascript from your Shopware 6 storefront.

Package info

github.com/stefan-eik-christiansen/SecBlockJs

Language:Twig

Type:shopware-platform-plugin

pkg:composer/sec/block-javascript

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.2.5 2026-07-25 13:51 UTC

This package is auto-updated.

Last update: 2026-08-25 14:32:20 UTC


README

Increase pagespeed, block Javascript where unwanted.

Add to Shopware

Add to composer.json using
composer require sec/block-javascript

Compile the admin to start using it.

Instructions

Compatible with onprem and PaaS
Keep it the 1st after 'Storefront' in themes.json to allow 3rd party plugins further extension of the meta.html.twig's Javascript block.

Find the plugin's settings in the admin, within "Settings / Extensions / My Extensions".
Add the string matching the Javascript you want to block to the input field referring the route you want it to be blocked in.