The concept of displaying the browsing history of web pages in the form of a tree was first introduced in the MosaicG browser in 1995. However, this feature is no longer available in contemporary browsers. This paper describes how to implement a plugin extension for the Chrome browser that displays the browsing history in a tree. The browsing history is recorded as a chronological list of the user’s browsing actions detected in the background. On request by the user, the extension generates a tree representing the browsing history from the user’s perspective by scanning the chronological list of actions in the following steps. First, the root node of the tree stores the URL of the first page visited. The current node, representing the page on which the user is currently focused, is initially set to the root node. When the user navigates to another page in the same tab, the current node moves accordingly. If the destination URL matches that of the parent or any existing child node, the current node moves to the respective parent or child node as if the move were a backward or forward move, respectively. Otherwise, a new node is created as a child of the current node, stores the URL of the destination page, and becomes the new current node. When active tabs are switched, the current node of the new active tab is marked and the current node of the inactive tab is retained persistently until the user returns to the tab again.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Plugin Extension for Chrome Browser to Display Web Browsing History in Tree View

  • Yui Shinkai,
  • Michitoshi Niibori,
  • Erjing Zhou,
  • Masaru Kamada

摘要

The concept of displaying the browsing history of web pages in the form of a tree was first introduced in the MosaicG browser in 1995. However, this feature is no longer available in contemporary browsers. This paper describes how to implement a plugin extension for the Chrome browser that displays the browsing history in a tree. The browsing history is recorded as a chronological list of the user’s browsing actions detected in the background. On request by the user, the extension generates a tree representing the browsing history from the user’s perspective by scanning the chronological list of actions in the following steps. First, the root node of the tree stores the URL of the first page visited. The current node, representing the page on which the user is currently focused, is initially set to the root node. When the user navigates to another page in the same tab, the current node moves accordingly. If the destination URL matches that of the parent or any existing child node, the current node moves to the respective parent or child node as if the move were a backward or forward move, respectively. Otherwise, a new node is created as a child of the current node, stores the URL of the destination page, and becomes the new current node. When active tabs are switched, the current node of the new active tab is marked and the current node of the inactive tab is retained persistently until the user returns to the tab again.