JSRehab: Weaning Common Web Interface ...
Type de document :
Communication dans un congrès avec actes
DOI :
Titre :
JSRehab: Weaning Common Web Interface Components from JavaScript Addiction
Auteur(s) :
Fouquet, Romain [Auteur]
Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Laperdrix, Pierre [Auteur]
Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Centre National de la Recherche Scientifique [CNRS]
Rouvoy, Romain [Auteur]
Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Laperdrix, Pierre [Auteur]

Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Centre National de la Recherche Scientifique [CNRS]
Rouvoy, Romain [Auteur]

Self-adaptation for distributed services and large software systems [SPIRALS]
Université de Lille
Titre de la manifestation scientifique :
WWW '22: Companion Proceedings of the Web Conference 2022
Ville :
Lyon
Pays :
France
Date de début de la manifestation scientifique :
2022-05-25
Mot(s)-clé(s) en anglais :
web security
web framework
javascript
content security policy
web accessibility
mobile web
energy savings
web framework
javascript
content security policy
web accessibility
mobile web
energy savings
Discipline(s) HAL :
Informatique [cs]/Web
Informatique [cs]/Cryptographie et sécurité [cs.CR]
Informatique [cs]/Cryptographie et sécurité [cs.CR]
Résumé en anglais : [en]
Leveraging JavaScript (JS) for User Interface (UI) interactivity has been the norm on the web for many years. Yet, using JS increases bandwidth and battery consumption as scripts need to be downloaded and processed by the ...
Lire la suite >Leveraging JavaScript (JS) for User Interface (UI) interactivity has been the norm on the web for many years. Yet, using JS increases bandwidth and battery consumption as scripts need to be downloaded and processed by the browser. Plus, client-side JS may expose visitors to security vulnerabilities such as Cross-Site Scripting (XSS).This paper introduces a new server-side plugin, called JSRehab, that automatically rewrites common web interface components by alternatives that do not require any JavaScript (JS). The main objective of JSRehab is to drastically reduce-and ultimately remove-the inclusion of JS in a web page to improve its responsiveness and consume less resources. We report on our implementation of JS-Rehab for Bootstrap, the most popular UI framework by far, and evaluate it on a corpus of 100 webpages. We show through manual validation that it is indeed possible to lower the dependencies of pages on JS while keeping intact its interactivity and accessibility. We observe that JSRehab brings energy savings of at least 5 % for the majority of web pages on the tested devices, while introducing a median on-the-wire overhead of only 5 % to the HTML payload.Lire moins >
Lire la suite >Leveraging JavaScript (JS) for User Interface (UI) interactivity has been the norm on the web for many years. Yet, using JS increases bandwidth and battery consumption as scripts need to be downloaded and processed by the browser. Plus, client-side JS may expose visitors to security vulnerabilities such as Cross-Site Scripting (XSS).This paper introduces a new server-side plugin, called JSRehab, that automatically rewrites common web interface components by alternatives that do not require any JavaScript (JS). The main objective of JSRehab is to drastically reduce-and ultimately remove-the inclusion of JS in a web page to improve its responsiveness and consume less resources. We report on our implementation of JS-Rehab for Bootstrap, the most popular UI framework by far, and evaluate it on a corpus of 100 webpages. We show through manual validation that it is indeed possible to lower the dependencies of pages on JS while keeping intact its interactivity and accessibility. We observe that JSRehab brings energy savings of at least 5 % for the majority of web pages on the tested devices, while introducing a median on-the-wire overhead of only 5 % to the HTML payload.Lire moins >
Langue :
Anglais
Comité de lecture :
Oui
Audience :
Internationale
Vulgarisation :
Non
Collections :
Source :
Fichiers
- https://hal.archives-ouvertes.fr/hal-03604674/document
- Accès libre
- Accéder au document
- http://arxiv.org/pdf/2203.06955
- Accès libre
- Accéder au document
- https://hal.archives-ouvertes.fr/hal-03604674/document
- Accès libre
- Accéder au document
- https://hal.archives-ouvertes.fr/hal-03604674/document
- Accès libre
- Accéder au document
- document
- Accès libre
- Accéder au document
- main.pdf
- Accès libre
- Accéder au document
- 2203.06955
- Accès libre
- Accéder au document
- document
- Accès libre
- Accéder au document
- main.pdf
- Accès libre
- Accéder au document