v1.0.2
This commit is contained in:
@@ -74,6 +74,7 @@ Type back the <b>code</b> on the keyboard and the code will be removed from the
|
|||||||
- <b>Autocomplete:</b> The extension will complete the question for you.
|
- <b>Autocomplete:</b> The extension will complete the question for you.
|
||||||
- <b>Clipboard:</b> The response is copied into the clipboard.
|
- <b>Clipboard:</b> The response is copied into the clipboard.
|
||||||
- <b>Question to answer:</b> The question is converted to the answer and you can click on it to show back the question (or show back the answer).
|
- <b>Question to answer:</b> The question is converted to the answer and you can click on it to show back the question (or show back the answer).
|
||||||
|
<br/><img src="./assets/question-to-answer.gif" alt="Question to Answer">
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 134 KiB |
@@ -61,8 +61,8 @@
|
|||||||
*/
|
*/
|
||||||
function normalizeText(text) {
|
function normalizeText(text) {
|
||||||
return text
|
return text
|
||||||
.replace(/\n+/g, "\n")
|
.replace(/(\n\s*)+/gi, "\n")
|
||||||
.replace(/[ \t]+/g, " ")
|
.replace(/[ \t]+/gi, " ")
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.trim()
|
.trim()
|
||||||
.replace(/^[a-z\d]\.\s/gi, "") //a. text, b. text, c. text, 1. text, 2. text, 3.text
|
.replace(/^[a-z\d]\.\s/gi, "") //a. text, b. text, c. text, 1. text, 2. text, 3.text
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -16,3 +16,7 @@ for (const input of document.querySelectorAll(
|
|||||||
for (const icon of document.querySelectorAll(".text-danger, .text-success")) {
|
for (const icon of document.querySelectorAll(".text-danger, .text-success")) {
|
||||||
icon.remove();
|
icon.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (const feedback of document.querySelectorAll(".specificfeedback")) {
|
||||||
|
feedback.remove();
|
||||||
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
*/
|
*/
|
||||||
function normalizeText(text: string) {
|
function normalizeText(text: string) {
|
||||||
return text
|
return text
|
||||||
.replace(/\n+/g, "\n")
|
.replace(/(\n\s*)+/gi, "\n")
|
||||||
.replace(/[ \t]+/g, " ")
|
.replace(/[ \t]+/gi, " ")
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.trim()
|
.trim()
|
||||||
.replace(/^[a-z\d]\.\s/gi, "") //a. text, b. text, c. text, 1. text, 2. text, 3.text
|
.replace(/^[a-z\d]\.\s/gi, "") //a. text, b. text, c. text, 1. text, 2. text, 3.text
|
||||||
|
|||||||
Reference in New Issue
Block a user