arrow
返回

JSREHAB: Weaning Common Web Interface Components from JavaScript Addiction

delete2022-08-16
delete0
delete
OA
AI
R
Romain Fouquet *
P
Pierre Laperdrix
R
Romain Rouvoy
DOI:10.1145/3487553.3524227delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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 browser. Plus, client-side JS may expose visitors to security vulnerabilities such as Cross-Site Scripting (XSS). This paper introduces a newserver-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 JSRehab for Bootstrap, the most popular UI framework by far, and evaluate it on a corpus of 100webpages. 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.
Keyword:
web security
web framework
javascript
content security policy
web accessibility
mobile web
energy savings

期刊

C
COMPANION PROCEEDINGS OF THE WEB CONFERENCE and WWW COMPANION
IF:
0
论文数:
1
被引数:
0

机构

I
Inria
学者数:
3.5K
论文数: 2.5K
被引数: 343
U
universite de lille
学者数:
2.7W
论文数: 2.0W
被引数: 15
引用论文

引用论文

Nedd5, a mammalian septin, is a novel cytoskeletal component interacting with actin-based structures.
err1997-06-15
err0
errOAAI
errM Kinoshita; S Kumar; A Mizoguchi; C Ide; A Kinoshita; T Haraguchi; Y Hiraoka; M Noda
err分享
err收藏