Sciweavers

ICWE
2010
Springer

Interfaces for Scripting: Making Greasemonkey Scripts Resilient to Website Upgrades

13 years 9 months ago
Interfaces for Scripting: Making Greasemonkey Scripts Resilient to Website Upgrades
Thousands of users are streamlining their Web interactions through user scripts using special weavers such as Greasemonkey. Thousands of programmers are releasing their scripts in public repositories. Millions of downloads prove the success of this approach. So far, most scripts are just a few lines long. Although the amateurism of this community can partially explain this fact, it can also stem from the doubt about whether larger efforts will pay off. The fact that scripts directly access page structure makes scripts fragile to page upgrades. This brings the nightmare of maintenance, even more daunting considering the leisure-driven characteristic of this community. On these grounds, this work introduces interfaces for scripting. Akin to the JavaScript programming model, Scripting Interfaces are event-based, but rather than being in terms of low-level, user-interface events, Scripting Interfaces abstract these DOM events into conceptual events. Scripts can now subscribe to or notify o...
Oscar Díaz, Cristóbal Arellano, Jon
Added 19 Jul 2010
Updated 19 Jul 2010
Type Conference
Year 2010
Where ICWE
Authors Oscar Díaz, Cristóbal Arellano, Jon Iturrioz
Comments (0)