Results 1 -
1 of
1
General Terms
"... Web developers often want to repurpose interactive behaviors from third-party web pages, but struggle to locate the specific source code that implements the behavior. This task is chal-lenging because developers must find and connect all of the non-local interactions between event-based JavaScript c ..."
Abstract
- Add to MetaCart
(Show Context)
Web developers often want to repurpose interactive behaviors from third-party web pages, but struggle to locate the specific source code that implements the behavior. This task is chal-lenging because developers must find and connect all of the non-local interactions between event-based JavaScript code, declarative CSS styles, and web page content that combine to express the behavior. The Scry tool embodies a new approach to locating the code that implements interactive behaviors. A developer selects a page element; whenever the element changes, Scry cap-tures the rendering engine’s inputs (DOM, CSS) and outputs (screenshot) for the element. For any two captured element states, Scry can compute how the states differ and which lines of JavaScript code were responsible. Using Scry, a developer can locate an interactive behavior’s implementation by picking two output states; Scry indicates the JavaScript code directly responsible for their differences.