回答編集履歴

3

訂正

2020/09/04 11:00

投稿

AkitoshiManabe
AkitoshiManabe

スコア5432

test CHANGED
File without changes

2

訂正

2020/09/04 11:00

投稿

AkitoshiManabe
AkitoshiManabe

スコア5432

test CHANGED
@@ -32,7 +32,11 @@
32
32
 
33
33
  ;
34
34
 
35
+
36
+
37
+ // 実行中のscript の前に link[rel="stylesheet"] を置く
38
+
35
- document.head.appendChild(
39
+ document.head.insertBefore(
36
40
 
37
41
  Object.assign(document.createElement("link"),
38
42
 
@@ -44,9 +48,7 @@
44
48
 
45
49
  href
46
50
 
47
- })
51
+ }), document.currentScript );
48
-
49
- );
50
52
 
51
53
  ```
52
54
 

1

typo の修正

2020/09/04 11:00

投稿

AkitoshiManabe
AkitoshiManabe

スコア5432

test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  ? "https://example.com/b.css"
30
30
 
31
- : "https://example.com/b.css"
31
+ : "https://example.com/a.css" // typo 修正
32
32
 
33
33
  ;
34
34