JS']JSCleaner: De-Cluttering Mobile Webpages Through Java']JavaScript Cleanup

被引:16
|
作者
Chaqfeh, Moumena [1 ]
Zaki, Yasir [1 ]
Hu, Jacinta [1 ]
Subramanian, Lakshmi [2 ]
机构
[1] NYU Abu Dhabi, Abu Dhabi, U Arab Emirates
[2] NYU, New York, NY 10003 USA
来源
WEB CONFERENCE 2020: PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE (WWW 2020) | 2020年
关键词
!text type='Java']Java[!/text]Script; User Experience; Classification; Web Simplification;
D O I
10.1145/3366423.3380157
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A significant fraction of the World Wide Web suffers from the excessive usage of JavaScript (JS). Based on an analysis of popular webpages, we observed that a considerable number of JS elements utilized by these pages are not essential for their visual and functional features. In this paper, we propose JSCleaner, a JavaScript de-cluttering engine that aims at simplifying webpages without compromising their content or functionality. JSCleaner relies on a rule-based classification algorithm that classifies JS into three main categories: non-critical, replaceable, and critical. JSCleaner removes non-critical JS from a webpage, translates replaceable JS elements with their HTML outcomes, and preserves critical JS. Our quantitative evaluation of 500 popular webpages shows that JSCleaner achieves around 30% reduction in page load times coupled with a 50% reduction in the number of requests and the page size. In addition, our qualitative user study of 103 evaluators shows that JSCleaner preserves 95% of the page content similarity, while maintaining nearly 88% of the page functionality (the remaining 12% did not have a major impact on the user browsing experience).
引用
收藏
页码:763 / 773
页数:11
相关论文
共 2 条
  • [1] JS']JSAnalyzer: A Web Developer Tool for Simplifying Mobile Web Pages through Non-critical Java']JavaScript Elimination
    Chaqfeh, Moumena
    Coke, Russell
    Hu, Jacinta
    Hashmi, Waleed
    Subramanian, Lakshmi
    Rahwan, Talal
    Zaki, Yasir
    ACM TRANSACTIONS ON THE WEB, 2022, 16 (04)
  • [2] To Block or Not to Block: Accelerating Mobile Web Pages On-The-Fly Through Java']JavaScript Classification
    Chaqfeh, Moumena
    Haseeb, Muhammad
    Hashmi, Waleed
    Inshuti, Patrick
    Ramesh, Manesha
    Varvello, Matteo
    Subramanian, Lakshmi
    Zaffar, Fareed
    Zaki, Yasir
    PROCEEDINGS OF THE 2022 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGIES AND DEVELOPMENT, ICTD 2022, 2022,