Title: Plugin removes its own scripts
Last modified: August 20, 2016

---

# Plugin removes its own scripts

 *  [fuxia](https://wordpress.org/support/users/thefuxia/)
 * (@thefuxia)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-its-own-scripts/)
 * Loading the translation page the “Scripting Guard” informs me about dubious external
   scripts:
 * > **Malfunction at dubious external scripts detected !**
   >  Reason: unknown external
   > script has been enqueued or hardly attached. | Polluter: unknown (probably 
   > by Theme or Plugin) Below listed external scripts have been traced, verified
   > and automatically stripped because of injection: [debug-bar] – [http://plugins.wp/debug-bar/js/debug-bar.dev.js](http://plugins.wp/debug-bar/js/debug-bar.dev.js)[
   > hook:admin_head#0] – [http://plugins.wp/codestyling-localization/js/prototype.js](http://plugins.wp/codestyling-localization/js/prototype.js)[
   > hook:admin_head#4] – [http://plugins.wp/codestyling-localization/js/wp-scriptaculous.js](http://plugins.wp/codestyling-localization/js/wp-scriptaculous.js)[
   > hook:admin_head#5] – [http://plugins.wp/codestyling-localization/js/effects.js](http://plugins.wp/codestyling-localization/js/effects.js)
 * And this is the reason why nothing works on that page.
 * JavaScript error on load:
 * > Uncaught exception: TypeError: ‘Object.extend’ is not a function
   >  Error thrown
   > at line 4840, column 0 in [http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php](http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php):
   > Object.extend(Array.prototype, {
 * … and when clicking a link:
 * > Uncaught exception: TypeError: ‘$’ is not a function
   >  Error thrown at line 
   > 4909, column 1 in csp_add_language(elem, type, name, row, path, subpath, existing,
   > type, simplefilename, transtemplate, textdomain, denyscan) in [http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php](http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php):
   > elem = $(elem); called from line 1, column 0 in <anonymous function>(event)
   > in [http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php](http://single.wp/wp-admin/tools.php?page=codestyling-localization/codestyling-localization.php):
   > csp_add_language(this, ‘plugins’, ‘bbPress v2.2.4’, ‘mo-list-4’, ‘F:/Dropbox/
   > wp-content/plugins/bbpress/’, ‘languages/bbpress-‘, this.rel, ‘plugins’, ”,‘
   > F:/Dropbox/wp-content/plugins/bbpress/languages/bbpress.pot’, ‘bbpress’, 0);
 * `single.wp` is my domain for a single-site instance, `plugins.wp` is the plugin
   domain.
 * [http://wordpress.org/extend/plugins/codestyling-localization/](http://wordpress.org/extend/plugins/codestyling-localization/)

The topic ‘Plugin removes its own scripts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codestyling-localization_e6e1e3.svg)
 * [Codestyling Localization](https://wordpress.org/plugins/codestyling-localization/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codestyling-localization/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codestyling-localization/)
 * [Active Topics](https://wordpress.org/support/plugin/codestyling-localization/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codestyling-localization/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codestyling-localization/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [fuxia](https://wordpress.org/support/users/thefuxia/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-its-own-scripts/)
 * Status: not resolved