Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the legality of README.md (#1) #2

Merged
merged 1 commit into from
Mar 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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