首页 扩展程序 Canvas Quiz De-suckifier

Canvas Quiz De-suckifier

提供方: Skandalabrandur
0
效率 15 位用户

插件简介

An attempt to introduce regex to canvas quizzes
NOTICE: "TAILOR MADE FOR REYKJAVÍK UNIVERSITY. MIGHT NOT WORK FOR PEOPLE OUTSIDE OF THE SCOPE UNLESS SOME CHANGES ARE MADE TO THE SOURCE CODE"

--------

This extension adds the clickable link "Populate with basic regex" besides the "Add another answer" link.
This is only intended for use with "Fill in the blank" and "Fill in multiple blanks" types of questions. The behaviour of this extension is undefined outside of this scope.

Basic syntax:
[abc]: any character a, b or c
--E is the empty character:
[abc--E]: any character a, b, c, or nothing/empty character.
--S is a flag that splits words on | inside the []
Example: [--SLorem|Ipsum|--E] is either Lorem, Ipsum or nothing/empty character.

{optional}: the string within {} becomes optional
Example: '{A }boat' yields both "A boat" and "boat"

$$variable$$:
To populate correctly for a variable in the
"Fill in multiple blanks" section, the regex query
MUST START with $$variable$$ as a selector for your intended variable.
Example: $$color1$$[--Syellow|blue|green]
populates the "color1" variable with yellow, blue and green.

---

Version 0.1
Single fill in the blanks seem to work

Version 0.2
Multiple fill in the blanks work only when it is the first question

Version 0.3
Introduced $$variable$$ selection and a global limiter on variable names because of Canvas' global scope per input values (results in no more undefined behaviour for multiple questions per quiz)

Version 0.3.1
Added a matcher for question banks as well.

其他信息

ID bmlilboiahnjdjhoimjaljknonmghoag 版本 0.3.1 上次更新日期 2018年9月22日 大小 9.8KiB 语言 支持1 种语言 开发者

kjaftfor@kurte.is

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

Canvas Quiz De-suckifier Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效