A Language for End-user Web Augmentation: Caring for Producers and Consumers Alike

Web Augmentation is to the Web what Augmented Reality is to the physical world: layering relevant content/layout/navigation over the existing Web to customize the user experience. This is achieved through JavaScript (JS) using browser weavers (e.g. Greasemonkey). To date, over 43 million of downloads of Greasemonkey scripts ground the vitality of this movement. However, Web Augmentation is hindered by being programming intensive and prone to malware. This prevents end users from participating as both producers and consumers of scripts: producers need to know JS, consumers need to trust JS. This paper aims at promoting end user participation in both roles. The vision is for end users to prosume scripts as easily as they currently prosume their pictures or videos. Encouraging production requires more “natural” and abstract constructs. Promoting consumption calls for augmentation scripts to be easier to understand, share and trust upon. To this end, we explore the use of Domain-Specific Languages (DSLs) by introducing Sticklet. Sticklet is an internal DSL on JS, where JS generality is reduced for the sake of learnability and reliability. Specifically, Web Augmentation is conceived as fixing in existing websites (i.e. the wall) HTML fragments extracted from either other sites or Web services (i.e. the stickers). Sticklet targets hobby programmers as producers, and computer literates as consumers. From a producer perspective, benefits are three-fold. As a restricted grammar on top of JS, Sticklet expressions are domain-oriented and more declarative than their JS counterparts, hence speeding up development. As syntactically correct JS expressions, Sticklet scripts can be installed as traditional scripts and hence, programmers can continue using existing JS tools. As declarative expressions, they are easier to maintain, and amenable for optimization. From a consumer perspective, domain specificity brings understandability (due to declarativeness), reliability (due to built-in security) and “consumability” (i.e. installation/enactment/sharing of Sticklet expressions are tuned to the shortage of time and skills of the target audience). Preliminary evaluations indicate that 77% of the subjects were able to develop new Sticklet scripts in less than thirty minutes while 84% were able to consume those scripts in less than ten minutes. Sticklet is available to download as a Mozilla add-on.

This publication has not any associated project.

This publication has not any associated prototype.

ONEKIN, UNIVERSITY OF THE BASQUE COUNTRY

University of the basque country