# How to remove/replace code.jquery.com?

**URL:** <https://forum.ghost.org/t/how-to-remove-replace-code-jquery-com/15452>\
**Category:** Developer help\
**Created:** [June 28, 2020, 1:55pm UTC](https://forum.ghost.org/t/how-to-remove-replace-code-jquery-com/15452 "2020-06-28T13:55:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_Oakley](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jack_oakley/32/8649_2.png) [@Jack\_Oakley](https://forum.ghost.org/u/Jack_Oakley)\
**Post date:** [June 28, 2020, 1:55pm UTC](https://forum.ghost.org/t/how-to-remove-replace-code-jquery-com/15452/1 "2020-06-28T13:55:33Z")

</div>

Hi!

Is it possible to replace/remove [code.jquery.com](http://code.jquery.com) from Ghost? Our project aims to have zero tracking and 3rd party websites in the background.

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![acburdine](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/acburdine/32/4825_2.png) [@acburdine](https://forum.ghost.org/u/acburdine)\
**Post date:** [June 28, 2020, 2:16pm UTC](https://forum.ghost.org/t/how-to-remove-replace-code-jquery-com/15452/2 "2020-06-28T14:16:59Z")

</div>

If you’re using the default Casper theme, it requires jQuery for some of the theme functionality.

That said, you should be able to modify the theme yourself to remove the dependency on [code.jquery.com](http://code.jquery.com) specifically. What you’ll need to do is download the Casper theme from your blog (see [docs](https://ghost.org/faq/design-settings/#download-a-theme)), then download the jquery code from [code.jquery.com](http://code.jquery.com) (specifically [https://code.jquery.com/jquery-3.4.1.min.js](https://code.jquery.com/jquery-3.4.1.min.js)). After downloading the jquery code, save it to your theme’s assets/built folder as `jquery.js` and update this line in `default.hbs` ([Casper/default.hbs at main · TryGhost/Casper · GitHub](https://github.com/TryGhost/Casper/blob/master/default.hbs#L82-L86)) to use the following snippet:

```auto
<script src="{{asset "built/jquery.js"}}"></script>

```

Once you’ve done that, re-upload your theme zip file and it should no longer be requesting files from [code.jquery.com](http://code.jquery.com)
