-
Notifications
You must be signed in to change notification settings - Fork 4
/
233.txt
83 lines (63 loc) · 4.04 KB
/
233.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[9] [[Webブラウザー]]の[[閲覧文脈]]は、 [[navigate]] により次々と
[[Webページ]]の遷移を行ったり、[[スクリプト]]によって
[[Webページ]]内での状態を変化させたりして変化してゆきます。
こうした変化の各段階を記録したものを[DFN[[RUBYB[履歴]@en[history]]]]といいます。
* 仕様書
[REFS[
- [1] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2015-04-25 04:40:19 +09:00]] 版) <https://html.spec.whatwg.org/#history-notes>
]REFS]
* 履歴に関する概念
[16]
[FIG(list short)[
- [[セッション履歴]]
- [[結合セッション履歴]]
- [[セッション履歴イベントループ]]
- [[セッション履歴探索キュー]]
- [[履歴の探索]]
- [CODE(DOMi)@en[[[History]]]]
-- [CODE(DOMm)@en[pushState]]
-- [CODE(DOMm)@en[popState]]
- [CODE(DOMm)@en[location.reload]]
- [[bfcache]]
- [[Pjax]]
- [CODE(DOMe)@en[[[hashchange]]]]
- [CODE(DOMe)@en[popstate]]
- [[初期[CODE(URI)@en[about:blank]]文書]]
- [CODE(CSS)@en[:visited]]
- [[既読化]]
]FIG]
* 利用者インターフェイス
[5] 多くの [[Webブラウザー]]は[[履歴]]上を「[[戻る]]」、「[[進む]]」
といった操作を[[利用者インターフェイス]]で提供しています。
1段階だけではなく、[[メニュー]]などを提示して複数段階移動することができる
[[Webブラウザー]]もあります。こうした移動は ⊿ 付きの[[履歴の探索]]操作として扱われます。
;; [7] [[メニューバー]]上のボタンとして実装される場合の他、
[[鍵盤]]やハードウェア上の専用のボタンが提供されている場合もあります。
また[[キーボードショートカット]]や[[マウスジェスチャー]]が割り当てられている場合もあります。
([[マウス操作]]、[[鍵盤操作]]も参照。)
[2] [CODE(DOMi)@en[[[History]]]] [[インターフェイス]]の仕様は、
[[セッション履歴]]をどう[[利用者]]に提示するか制限するものではありません [SRC[>>1]]。
[3] [[navigate]] や [CODE(DOMi)@en[[[History]]]] の操作は[[セッション履歴]]を編集することがありますが、
これは必ずしもその通りに[[利用者]]に示さなければならないわけではない [SRC[[[HTML Standard]]]]
とされています。
[EG[
[4] 仕様上は[[セッション履歴]]は[[線形]]のリストとなっていますが、
「進む」が分岐する[[木構造]]で表示することもできます [SRC[>>1]]。
]EG]
[8] [[著者]]が [CODE(DOMm)@en[[[pushState]]]] を濫用した場合のため、
複数段階移動するためのメニューに[[状態オブジェクト]]が異なり[[文書]]が異ならない[[エントリー]]への移動を表示しなかったり、
[[状態オブジェクト]]のみ異なる移動と [[URL]] が異なる移動で2種類の移動操作を提供したりすることも考えられます [SRC[>>1]]。
[6] 多くの [[Webブラウザー]]は、[[セッション履歴]]とは別に、(セッションに関わらず)
最近表示したページの一覧を表示する機能を実装しています。そうした一覧からの移動は、
[[セッション履歴]]の移動ではなく新たな [[navigate]] として実装されているのが普通です。
* メモ
[10] [CITE[Using Graphic History in Browsing the World Wide Web]] <http://www.w3.org/Conferences/WWW4/Papers2/270/>
[11] [CITE[Graphical History - Torisugari の日記]] <http://slashdot.jp/~Torisugari/journal/357506?from=rss>
([[名無しさん]] [WEAK[2006-11-18 02:32:41 +00:00]])
[12] [CITE[Graphical History その2 - Torisugari の日記]] <http://slashdot.jp/~Torisugari/journal/357584?from=rss>
([[名無しさん]] [WEAK[2006-11-18 02:32:59 +00:00]])
[13] [[w3m]] にも同様の機能が・・・
[14] [[w3m]] ではなく [[emacs-w3m]] でしたか?
[15] [CITE[chrome.history - Google Chrome]]
( ([TIME[2016-06-18 12:16:48 +09:00]]))
<https://developer.chrome.com/extensions/history>