Modules pour le navigateur Firefox
  • Extensions
  • ThĂšmes
    • pour Firefox
    • Dictionnaires et paquetages linguistiques
    • Sites pour les autres navigateurs
    • Modules pour Android
Connexion
Aperçu de Async CSS

Async CSS par em_te

Makes webpages load faster by allowing them to load before the external CSS files are loaded.

4.1 (11 reviews)4.1 (11 reviews)
14 utilisateurs·trices14 utilisateurs·trices
Vous avez besoin de Firefox pour utiliser cette extension
TĂ©lĂ©charger Firefox et obtenir l’extension
Télécharger le fichier

MĂ©tadonnĂ©es de l’extension

Captures d’écran
The MSN website microseconds after it begins loading and before CSS has finished downloading.The MSN website many seconds after it begins loading and after the CSS has caught up.
À propos de cette extension
THIS EXTENSION IS SCHEDULED TO BE REMOVED.

Due to an increase in restrictions for Firefox add-ons, this add-on is scheduled to be removed because it uses APIs that will no longer be allowed for Firefox add-ons.

The API concerned is modifying the Content-Security-Policy of webpages to allow the execution of inline JavaScript that matches a prescribed 'nonce-base64' value.

Thank you for your patronage!
---------------------


Why this add-on:
  1. Is your Internet connection really slow?
  2. Are you behind a corporate firewall that blocks a lot of content?
  3. Is CSS mostly useless to you?

Most browsers nowadays wait until all external stylesheets (defined in the head section) finish downloading before displaying any HTML. This can severely slow down your Internet experience.

What
This add-on will make all external CSS load in the background without delaying the displaying of the HTML. Similar to the FOUC (Flash Of Unstyled Content) but desirable.

How
This add-on works by marking all stylesheets in the head section as asynchronous/deferred. When you load the webpage, the browser will then display the HTML first without any CSS styles. Then as the CSS styles are downloaded, they are applied dynamically.

So when you open a webpage, for the first few seconds, you will see the basic webpage as mother nature intended, and then the webpage design (CSS) loads seconds later. If the CSS takes too long to load, then at least you get to read the basic webpage rather than seeing a blank page.

When
This add-on works by intercepting HTML traffic when it is arriving from a server and modifying the HTML in the following way:
  1. The server's HTTP headers are searched for the Content-Security-Policy header and if found, a token is inserted to allow this add-on's JavaScript to run.
  2. The HTML is downloaded in chunks and each chunk is read until the end of file or until the opening body tag or the closing head tag is found. Then the buffer is sent to the parsing algorithm.
  3. The buffer is searched for meta tags that serve Content-Security-Policy data and if found, a token is inserted to allow this add-on's JavaScript to run.
  4. The buffer is then searched for link tags with rel=stylesheet attributes.
  5. Those link tags have an artificial media=bogus added, so that the stylesheet is still downloaded but the browser won't wait for it to finish before showing the website.
  6. A script element is added next to the link element that will remove the media=bogus attribute and restore the attribute's previous value.
  7. Then the buffer is flushed to the browser and any remaining unprocessed data is also flushed to the browser.
  8. The browser parses the new HTML as if it came from the server.

A word on UTF-8:
This add-on can only transform webpages that are serialized in ASCII or UTF-8 encoding. This add-on will attempt to detect if the current webpage is ASCII or UTF-8 by looking at the HTTP header's charset and will abort the transform if any charset other than UTF-8 or ASCII are specified. If no charset HTTP header is present, it will still attempt the transform, but this can be disabled in the settings page if you are experiencing frequent errors. If the webpage is not UTF-8, the toolbar icon will say "UTF" so that you know the transform was aborted. If the HTTP header doesn't specify a charset the toolbar icon will say "CH" so that you know.
DĂ©velopper pour afficher Plus d’informations
NotĂ© 4,1 par 11 personnes
Connectez-vous pour noter cette extension
Il n’y a aucune note pour l’instant

Le nombre d’étoiles est enregistrĂ©

5
5
4
2
3
4
2
0
1
0
Lire les 11 critiques
Autorisations et donnéesEn savoir plus

Autorisations nĂ©cessaires :

  • AccĂ©der Ă  vos donnĂ©es pour tous les sites web
Plus d’informations
Version
0.2.6
Taille
37,26 Ko
DerniĂšre mise Ă  jour
il y a 6 ans (3 sept. 2019)
Catégories associées
  • Apparence
  • Autre
Licence
Mozilla Public License 2.0
Historique des versions
  • Voir toutes les versions
Ajouter Ă  la collection
Signaler ce module
Notes de version pour la version 0.2.6
The aggressiveness of the extension can be changed in the settings.
Autres extensions populaires
  • Dark Reader

    Dark Reader
    RecommandéRecommandé

    Noté 4,5 sur 5

    Dark Reader Ltd

    1 232 016 utilisateurs

  • Correcteur de texte - LanguageTool

    Correcteur de texte - LanguageTool
    RecommandéRecommandé

    Noté 4,7 sur 5

    LanguageTooler GmbH

    358 100 utilisateurs

  • Search by Image

    Search by Image
    RecommandéRecommandé

    Noté 4,6 sur 5

    Armin Sebastian

    406 527 utilisateurs

  • Tree Style Tab

    Tree Style Tab
    RecommandéRecommandé

    Noté 4,5 sur 5

    Piro (piro_or)

    175 929 utilisateurs

Plus de modules créés par em_te
  • Tap To Tab

    Tap To Tab

    Noté 4,3 sur 5

    em_te

    791 utilisateurs

  • Popup To Tab

    Popup To Tab

    Noté 4,5 sur 5

    em_te

    403 utilisateurs

  • Open Same Tab

    Open Same Tab

    Noté 4,1 sur 5

    em_te

    252 utilisateurs

  • PĂąte + Soumettre

    PĂąte + Soumettre

    Noté 4,7 sur 5

    em_te

    209 utilisateurs

  • Math in Address Bar

    Math in Address Bar

    Noté 4 sur 5

    em_te

    172 utilisateurs

  • Gestes de la tablette

    Gestes de la tablette

    Noté 3,1 sur 5

    em_te

    158 utilisateurs

Aller à la page d’accueil de Mozilla

Modules complémentaires

  • À propos
  • Blog des modules complĂ©mentaires Firefox
  • Atelier sur les extensions
  • PĂŽle dĂ©veloppeur
  • Politiques Ă  destination des dĂ©veloppeurs
  • Blog de la communautĂ©
  • Forum
  • Signaler un problĂšme
  • Guide de revue

Navigateurs

  • Desktop
  • Mobile
  • Enterprise

Produits

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • ConfidentialitĂ©
  • Cookies
  • Mentions lĂ©gales

Sauf mention contraire, le contenu de ce site est disponible sous licence Creative Commons Attribution Share-Alike v3.0 ou toute version supérieure.