Blocking JS from another plugin
-
I need to block the JS from another plugin (Sassy Social Sharing). I’ve tried adding each of these variations in turn to the URL section of ‘Block a script, iframe or plugin’ under Complianz > Integrations.
[redacted]/wp-content/plugins/sassy-social-share/includes/../public/js/sassy-social-share-public.js /wp-content/plugins/sassy-social-share/includes/../public/js/sassy-social-share-public.js sassy-social-share-public.js
None of these succeed at blocking the JS file until permission is granted. I’ve set the placeholder to target a DIV class and it does this perfectly. It’s just the associated JS file still loads.
I’ve blocked external scripts using this method, but it doesn’t seem to intercept the local plugin-loaded JS files.
Any ideas on what I’m doing wrong? Is it possible to target it by the script ID registered within WordPress (heateor_sss_sharing_js)?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Blocking JS from another plugin’ is closed to new replies.