Item request has been placed! ×
Item request cannot be made. ×
loading  Processing Request

JSRehab: Weaning Common Web Interface Components from JavaScript Addiction

Item request has been placed! ×
Item request cannot be made. ×
loading   Processing Request
  • معلومة اضافية
    • Contributors:
      Université de Lille; Self-adaptation for distributed services and large software systems (SPIRALS); Inria Lille - Nord Europe; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 (CRIStAL); Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS)-Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS); Centre National de la Recherche Scientifique (CNRS)
    • بيانات النشر:
      HAL CCSD
    • الموضوع:
      2022
    • Collection:
      LillOA (HAL Lille Open Archive, Université de Lille)
    • الموضوع:
    • نبذة مختصرة :
      International audience ; 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.
    • Relation:
      info:eu-repo/semantics/altIdentifier/arxiv/2203.06955; ARXIV: 2203.06955
    • الرقم المعرف:
      10.1145/3487553.3524227
    • الدخول الالكتروني :
      https://hal.science/hal-03604674
      https://hal.science/hal-03604674v1/document
      https://hal.science/hal-03604674v1/file/main.pdf
      https://doi.org/10.1145/3487553.3524227
    • Rights:
      info:eu-repo/semantics/OpenAccess
    • الرقم المعرف:
      edsbas.ED3F129