Title: Illegal JavaScript Execution
Last modified: October 31, 2024

---

# Illegal JavaScript Execution

 *  Resolved [harryfear](https://wordpress.org/support/users/harryfear/)
 * (@harryfear)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/illegal-javascript-execution/)
 * “3rd Party Cookies” Footer Section JavaScript executes prematurely, even though
   no consent has been given and their default status is disabled.
 * ![](https://i0.wp.com/i.ibb.co/dBD46h0/6b9615e4e2bdb75ccc516af3cf367041.png?ssl
   =1)
 * Code we insert in this section is executing ignoring the geolocation result from
   the server.

Viewing 1 replies (of 1 total)

 *  Thread Starter [harryfear](https://wordpress.org/support/users/harryfear/)
 * (@harryfear)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/illegal-javascript-execution/#post-18110998)
 * We have pushed manual updates to the client-side JavaScript to address these 
   bugs, as after 26 days of waiting we still haven’t received helpful support from
   the plugin staff.
 * **Blocking script execution until geolocation is complete**
   Now, we wait for 
   geolocation to complete before illegally invoking 3rd Party scripts.
 * **Geolocation too aggressive**
   To improve performance so that geolocation doesn’t
   have to occur on every page load, we set a conservatively-timed acceptance cookie
   to prevent unnecessary server load.
 * If anyone wants to see our codebase changes `main.js`, please reach out.

Viewing 1 replies (of 1 total)

The topic ‘Illegal JavaScript Execution’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [harryfear](https://wordpress.org/support/users/harryfear/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/illegal-javascript-execution/#post-18110998)
 * Status: resolved