Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit dacf3a2

Browse files
authored
Merge pull request #3 from kmyk/issue/2
#2
2 parents dd9e57d + 62a004e commit dacf3a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name AtCoder dos2unix UserScript
33
// @namespace https://github.com/kmyk
4-
// @version 1.2
4+
// @version 1.3
55
// @description submit code using LF instead of CRLF
66
// @author Kimiyuki Onaka
77
// @match *://beta.atcoder.jp/contests/*/submit*
@@ -18,7 +18,7 @@ function post(path, payload, expectedURL) {
1818
location.href = xhr.responseURL;
1919
}
2020
else {
21-
alert("AtCoder dos2unix UserScript: something wrong / なんか変だよ");
21+
alert("AtCoder dos2unix UserScript: something wrong / なんか変だよ ソースコードが空だったり連投制限に引っ掛かってたりしませんか");
2222
}
2323
}
2424
function beta() {

index.user.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name AtCoder dos2unix UserScript
33
// @namespace https://github.com/kmyk
4-
// @version 1.2
4+
// @version 1.3
55
// @description submit code using LF instead of CRLF
66
// @author Kimiyuki Onaka
77
// @match *://beta.atcoder.jp/contests/*/submit*
@@ -21,7 +21,7 @@ function post(path: string, payload: string, expectedURL: string): void {
2121
if (xhr.responseURL == expectedURL) {
2222
location.href = xhr.responseURL;
2323
} else {
24-
alert ("AtCoder dos2unix UserScript: something wrong / なんか変だよ");
24+
alert ("AtCoder dos2unix UserScript: something wrong / なんか変だよ ソースコードが空だったり連投制限に引っ掛かってたりしませんか");
2525
}
2626
}
2727

0 commit comments

Comments
 (0)