質問編集履歴

3

文言の追記

2017/01/05 09:06

投稿

YumaYamada
YumaYamada

スコア30

test CHANGED
File without changes
test CHANGED
@@ -82,7 +82,7 @@
82
82
 
83
83
 
84
84
 
85
- current (local storageに保存されたURL)
85
+ current (local storageに保存された最終アクセス時のURL)
86
86
 
87
87
  http://example.com/about.html
88
88
 
@@ -98,7 +98,7 @@
98
98
 
99
99
 
100
100
 
101
- current (local storageに保存されたURL)
101
+ current (local storageに保存された最終アクセス時のURL)
102
102
 
103
103
  http://example.com/index.html
104
104
 

2

試したことに就いての追記

2017/01/05 09:06

投稿

YumaYamada
YumaYamada

スコア30

test CHANGED
File without changes
test CHANGED
@@ -70,6 +70,40 @@
70
70
 
71
71
 
72
72
 
73
+ 追記(上手く動かない点について):
74
+
75
+ アプリで再起動した時に以下のように出力され、currentの変数に格納されているURLへリダイレクトするようにしたいです。
76
+
77
+
78
+
79
+ href (現在アクセスしているURL)
80
+
81
+ http://example.com/index.html
82
+
83
+
84
+
85
+ current (local storageに保存されたURL)
86
+
87
+ http://example.com/about.html
88
+
89
+
90
+
91
+
92
+
93
+ しかし、現在index.htmlにアクセスすると以下のように表示され、上手く動きません。
94
+
95
+ href (現在アクセスしているURL)
96
+
97
+ http://example.com/index.html
98
+
99
+
100
+
101
+ current (local storageに保存されたURL)
102
+
103
+ http://example.com/index.html
104
+
105
+
106
+
73
107
  ###補足情報
74
108
 
75
109
  [http://stackoverflow.com/questions/4291784/stop-native-web-app-from-reloading-itself-upon-opening-on-ios#answer-4454083](http://stackoverflow.com/questions/4291784/stop-native-web-app-from-reloading-itself-upon-opening-on-ios#answer-4454083)

1

リンクの更新

2017/01/05 09:04

投稿

YumaYamada
YumaYamada

スコア30

test CHANGED
File without changes
test CHANGED
@@ -72,4 +72,4 @@
72
72
 
73
73
  ###補足情報
74
74
 
75
- http://stackoverflow.com/questions/4291784/stop-native-web-app-from-reloading-itself-upon-opening-on-ios#answer-4454083
75
+ [http://stackoverflow.com/questions/4291784/stop-native-web-app-from-reloading-itself-upon-opening-on-ios#answer-4454083](http://stackoverflow.com/questions/4291784/stop-native-web-app-from-reloading-itself-upon-opening-on-ios#answer-4454083)