This paper presents SAM, a modular and extensible JavaScript framework for self-adapting menus on webpages. SAM allows 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 specifies how they are adapted on display. By decoupling them, SAM enables the exploration of different combinations independently. Several policies from literature are readily implemented, and paired with adaptation styles such as reordering and highlighting. The process - including user data logging - is local, offering privacy benefits and eliminating the need for server-side modifications. Researchers can use SAM to experiment adaptation policies and styles, and benchmark techniques in an ecological setting with real webpages. Practitioners can make websites self-adapting, and end-users can dynamically personalise typically static web menus.
翻译:本文介绍了用于网页上自适应菜单的模块化和扩展的 JavaScript 框架SAM。 SAM 能够控制对网络菜单进行调整的两个基本方面:(1) 目标政策,该政策为用于适应的菜单项目分配分数,和(2) 适应风格,该风格具体说明了它们如何在显示中加以调整。通过拆开它们,SAM 能够独立探索不同的组合。 文献中的若干政策很容易实施,并与重新排序和突出显示等适应风格相匹配。 这个过程,包括用户数据记录,是本地的,提供隐私的好处,并消除服务器侧面修改的需要。 研究人员可以利用SAM 来试验适应政策和风格,以及用真正的网页在生态环境中的基准技术。 从业人员可以使网站进行自适应,终端用户可以动态地将典型的静态网络菜单个人化。