Skip to content

Commit dc15543

Browse files
committed
lot of styling
1 parent bba967b commit dc15543

File tree

3 files changed

+184
-123
lines changed

3 files changed

+184
-123
lines changed

background.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@
4848
}
4949
}
5050

51-
//checks if the url is valid for quora
52-
function checkQUORA(url) {
53-
var regex = /.*quora\.com.*/;
54-
if(regex.test(url)) {
55-
return true;
56-
}
57-
return false;
58-
}
59-
6051
function findHides(routs) {
6152
hides = []
6253
for(var i = 0; i < routs.length; i++) {
@@ -85,7 +76,7 @@
8576
}
8677

8778
function reduceQuestion(question) {
88-
if(question.length > 70) { question = question.substring(0,67) + "..."}
79+
if(question.length > 90) { question = question.substring(0,87) + "..."}
8980
return question
9081
}
9182

contentscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function findQuestions(url) {
4747
href.push(question_link.href);
4848
routing.push(rout);
4949
if(!(number_answers == null)) {
50-
questions.push("(" + number_answers + ") " + question_link.text)
50+
questions.push(number_answers + " " + question_link.text)
5151
}
5252
else {
5353
questions.push(question_link.text)

0 commit comments

Comments
 (0)