Rich feature widgets

Problem / Goal
Skyscanner needed JavaScript widgets which could be placed on third-party websites as a part of a marketing campaign. Being put on unknown websites, widgets need to be secure (resistant to XSS). They also cannot break their host page’s layout, while their own layout cannot be changed by their host pages.
Solution
To achieve maximum layout isolation, we used several techniques, including introducing special identifiers, and creating a kind of resetting style sheet. We carefully prepared the JavaScript code in order to isolate it as well.
Results
The widgets are still being used across many Skyscanner websites, but most of all, on a large number of other, external webpages.

TEAM

Wit Więch
Co-founder and CEO
Robert Pelczarski
Co-founder and Senior Developer
Tomasz Marcinek
Co-founder and Software Architect