-
公开(公告)号:US10055308B2
公开(公告)日:2018-08-21
申请号:US14827962
申请日:2015-08-17
Applicant: SAP Portals Israel Ltd.
Inventor: Vadim Tomnikov
CPC classification number: G06F11/1464 , G06F11/14 , G06F16/957 , G06F2201/835 , H04L67/02 , H04L67/142 , H04L67/2842
Abstract: In some example embodiments, a request for a navigation action is detected via a web browser during a pre-navigation state of a single page application, and a state object is persisted, with the state object comprising a dictionary property and an index property. The dictionary property comprises a list of all uniform resource locator (URL) fragments stored in a browser history, with the list of URL fragments comprising a pre-navigation URL fragment for the pre-navigation state and a post-navigation URL fragment for a post-navigation state. The pre-navigation state is navigated to within the web browser using the state object. Based on a detection of unsaved data, a navigation confirmation request is displayed within the recovered pre-navigation state of the single-page application using the pre-navigation URL fragment. The navigation confirmation request is configured to receive an indication of whether or not to perform the navigation action.
-
公开(公告)号:US20170052853A1
公开(公告)日:2017-02-23
申请号:US14827962
申请日:2015-08-17
Applicant: SAP Portals Israel Ltd.
Inventor: Vadim Tomnikov
CPC classification number: G06F11/1464 , G06F17/30899 , G06F2201/835 , H04L67/02 , H04L67/142 , H04L67/2842
Abstract: In some example embodiments, a request for a navigation action is detected via a web browser during a pre-navigation state of a single page application, and a state object is persisted, with the state object comprising a dictionary property and an index property. The dictionary property comprises a list of all uniform resource locator (URL) fragments stored in a browser history, with the list of URL fragments comprising a pre-navigation URL fragment for the pre-navigation state and a post-navigation URL fragment for a post-navigation state. The pre-navigation state is navigated to within the web browser using the state object. Based on a detection of unsaved data, a navigation confirmation request is displayed within the recovered pre-navigation state of the single-page application using the pre-navigation URL fragment. The navigation confirmation request is configured to receive an indication of whether or not to perform the navigation action.
Abstract translation: 在一些示例性实施例中,在单个页面应用的预先导航状态期间通过网络浏览器检测对导航动作的请求,并且状态对象被持久化,状态对象包括词典属性和索引属性。 字典属性包括存储在浏览器历史中的所有统一资源定位符(URL)片段的列表,URL片段的列表包括用于导航前状态的导航前导航URL片段和用于帖子的导航后URL片段 导航状态。 导航状态使用状态对象导航到Web浏览器内。 基于未保存的数据的检测,使用导航前的URL片段,在单页应用的恢复的前导状态中显示导航确认请求。 导航确认请求被配置为接收是否执行导航动作的指示。
-