質問編集履歴

1

追記

2018/04/21 01:04

投稿

re97
re97

スコア208

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,15 @@
2
2
 
3
3
  ```js
4
4
 
5
- window.location.href != window.parent.location.href
5
+ if(window.location.href != window.parent.location.href){
6
+
7
+ ref = window.parent.document.referrer;
8
+
9
+ }else{
10
+
11
+ ref = document.referrer;
12
+
13
+ }
6
14
 
7
15
  ```
8
16