cf-fast-submit icon indicating copy to clipboard operation
cf-fast-submit copied to clipboard

提出フォームが表示されない

Open Katano-Sukune opened this issue 4 years ago • 1 comments

問題ページに提出フォームが表示されません。

環境

  • Manjaro Linux 21.0 Ornara
  • Google Chrome 89.0.4389.114
  • Tampermonkey 4.12
  • cf-fast-submit 2.8

再現手順

  1. Language: C# 8, .NET Core 3.1(以降C#8)を選択し提出
  2. 問題ページを開く
  3. 問題ページに提出フォームが表示されてほしいのに、表示されない

問題ページでF12を押し、デベロッパーツールを開くと

[cf fast submit] unexpected error has been occured.

Uncaught (in promise) TypeError: Cannot read property 'split' of undefined
    at Object.i [as getModeForPath] (ext-modelist.js:1)
    at setAceMode (userscript.html?name=cf-fast-submit.user.js&id=190a72d2-1dfc-4fa8-adef-fb50ce5a11c7:238)
    at initAppendForm (userscript.html?name=cf-fast-submit.user.js&id=190a72d2-1dfc-4fa8-adef-fb50ce5a11c7:191)
    at async tryToInit (userscript.html?name=cf-fast-submit.user.js&id=190a72d2-1dfc-4fa8-adef-fb50ce5a11c7:110)

とエラーが出ている。

おそらくSUBMIT CODEページのLanguage: セレクトボックスだと、 <option value="65">C# 8, .NET Core 3.1</option> と、C#8が65なのに、main.user.js 55行目extensionMapのkeyに65が無いのが原因です。

お忙しいとは思いますが、対応よろしくお願いします。

Katano-Sukune avatar Mar 31 '21 13:03 Katano-Sukune

更新してみました。greasyfork は更新めんどいので https://github.com/LumaKernel/cf-fast-submit/raw/master/main.user.js に URL 変えました。

LumaKernel avatar Oct 22 '21 08:10 LumaKernel