Title: Remove jQuery from Theme
Author: Marc Tönsing
Published: <strong>9. mars, 2021</strong>
Last modified: 9. mars, 2021

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/remove-jquery.svg)

# Remove jQuery from Theme

 Av [Marc Tönsing](https://profiles.wordpress.org/marcdk/)

[Last ned](https://downloads.wordpress.org/plugin/remove-jquery.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/remove-jquery/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/remove-jquery/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/remove-jquery/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/remove-jquery/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/remove-jquery/)

## Beskrivelse

Removes jQuery from your frontend theme if no administrator is logged-in. jQuery
will continue to work in you backend and when the admin toolbar is visible. Plugins
which depend on jQuery will not be loaded either.

This plugin does nothing more but this:

    ```
    function init_without_jquery() {
        if (!is_admin() AND !is_admin_bar_showing()) {
            wp_deregister_script('jquery');
            wp_register_script('jquery', false);
        }
    }

    add_action('init', 'init_without_jquery');
    ```

## Installasjon

Remove jQuery can be found and installed via the Plugin menu within WordPress administration(
Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and 
installed manually…

## Ofte stilte spørsmål

### Why did you do this?

Because I needed a simple plugin to do this job and decided to do it on his own.
WordPress frontends are is much faster without jQuery.

### jQuery is still loading! The plugin does not work!

You are most likely logged-in as administrator and the admin topbar is visible. 
Many plugins rely on jQuery for backend features. So I kept it enabled for the admin
topbar, too.

## Vurderinger

![](https://secure.gravatar.com/avatar/646a9b3e06d09e33f6820c51be9c9459e1df4e57e9f76e0c2e8e95b6ff861ef9?
s=60&d=retro&r=g)

### 󠀁[Does what it promises. Perfectly!!!](https://wordpress.org/support/topic/does-what-it-promises-perfectly/)󠁿

 [acelerawp](https://profiles.wordpress.org/acelerawp/) 12. april, 2021

Thank You so much to the developer for this useful plugin. All the Best, Miguel

 [ Les 1 vurdering ](https://wordpress.org/support/plugin/remove-jquery/reviews/)

## Bidragsytere og utviklere

«Remove jQuery from Theme» er programvare med åpen kildekode. Følgende personer 
har bidratt til denne utvidelsen:

Bidragsytere

 *   [ Marc Tönsing ](https://profiles.wordpress.org/marcdk/)

[Oversett «Remove jQuery from Theme» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/remove-jquery)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/remove-jquery/), 
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/remove-jquery/), eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/remove-jquery/)
med [RSS](https://plugins.trac.wordpress.org/log/remove-jquery/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * Initial version.

## Meta

 *  Versjon **1.0**
 *  Sist oppdatert **5 år siden**
 *  Aktive installasjoner **100+**
 *  WordPress-versjon ** 5.0 eller nyere **
 *  Testet opp til **5.6.17**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/remove-jquery/)
 * Stikkord
 * [jquery](https://nb.wordpress.org/plugins/tags/jquery/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/remove-jquery/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/remove-jquery/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-jquery/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/remove-jquery/reviews/)

## Bidragsytere

 *   [ Marc Tönsing ](https://profiles.wordpress.org/marcdk/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/remove-jquery/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://marc.tv/out/donate)