Skip to content

Commit

Permalink
Merge pull request #2 from kazh98/master
Browse files Browse the repository at this point in the history
Improve the legality of README.md (#1)
  • Loading branch information
yosh1 committed Mar 9, 2019
2 parents 85191c2 + 759e6ee commit 61f85da
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
それにより、先日以下のようなアラートの無限ループを `JavaScript` で書いたサイトへのリンクを貼ったことで、ある女子中学生が警察に補導されました。

```
while (1) {
alert("!");
■■■■■ (■) {
  ■■■■■ ("■");
}
```

Expand All @@ -20,17 +20,17 @@ Google Analyticsを使ってユーザーの動向を把握すると逮捕され

```
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-X"></script>
<script>
window.dataLayer = window.dataLayer || [];
<■■■■■■ ■■■■■="" ■■■="■■■■■://■■■.■■■■■■■■■■■■■■■■.■■■/■■■■/■■?■■=■■-■■■■■■■■■-■"></■■■■■■>
<■■■■■■>
■■■■■■.■■■■■■■■■ = ■■■■■■.■■■■■■■■■ || [];
function gtag() {
dataLayer.push(arguments);
■■■■■■■■ ■■■■() {
■■■■■■■■■.■■■■(■■■■■■■■■);
}
gtag('js', new Date());
■■■■('■■', ■■■ ■■■■());
gtag('config', 'UA-XXXXXXXXX-X');
</script>
■■■■('■■■■■■', '■■-■■■■■■■■■-■');
</■■■■■■>
```

### JavaScriptを削除
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ JavaScript is a dangerous thing to run malicious programs and behave unintention
As a result, by attaching a link to the site which wrote an infinite loop of alert like the following with JavaScript the other day, a girls junior high school student was guided by the police.

```
While (1) {
  alert ("!");
■■■■■ (■) {
  ■■■■■ ("");
}
```

Expand All @@ -24,17 +24,17 @@ The corresponding code is here.

```
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXXX-X"></script>
<script>
window.dataLayer = window.dataLayer || [];
<■■■■■■ ■■■■■="" ■■■="■■■■■://■■■.■■■■■■■■■■■■■■■■.■■■/■■■■/■■?■■=■■-■■■■■■■■■-■"></■■■■■■>
<■■■■■■>
■■■■■■.■■■■■■■■■ = ■■■■■■.■■■■■■■■■ || [];
function gtag() {
dataLayer.push(arguments);
■■■■■■■■ ■■■■() {
■■■■■■■■■.■■■■(■■■■■■■■■);
}
gtag('js', new Date());
■■■■('■■', ■■■ ■■■■());
gtag('config', 'UA-XXXXXXXXX-X');
</script>
■■■■('■■■■■■', '■■-■■■■■■■■■-■');
</■■■■■■>
```

### Delete JavaScript
Expand Down

0 comments on commit 61f85da

Please sign in to comment.