Camille Gobert
This paper presents SAM, a modular and extensible JavaScript framework for self-adapting menus on webpages. SAM al lows control of two elementary aspects for adapting web menus: (1) the target policy, which assigns scores to menu items for adaptation, and (2) the adaptation style, which spec ifes how they are adapted on display. By decoupling them, SAM enables the exploration of diferent combinations inde pendently. Several policies from literature are readily imple mented, and paired with adaptation styles such as reordering and highlighting. The process—including user data logging— is local, ofering privacy benefts and eliminating the need for server-side modifcations. Researchers can use SAM to experiment adaptation policies and styles, and benchmark techniques in an ecological setting with real webpages. Prac titioners can make websites self-adapting, and end-users can dynamically personalise typically static web menus. CCS CONCEPTS • Human-centered computing → Human computer in teraction (HCI); User interface design;