File tree Expand file tree Collapse file tree 3 files changed +184
-123
lines changed Expand file tree Collapse file tree 3 files changed +184
-123
lines changed Original file line number Diff line number Diff line change 48
48
}
49
49
}
50
50
51
- //checks if the url is valid for quora
52
- function checkQUORA ( url ) {
53
- var regex = / .* q u o r a \. c o m .* / ;
54
- if ( regex . test ( url ) ) {
55
- return true ;
56
- }
57
- return false ;
58
- }
59
-
60
51
function findHides ( routs ) {
61
52
hides = [ ]
62
53
for ( var i = 0 ; i < routs . length ; i ++ ) {
85
76
}
86
77
87
78
function reduceQuestion ( question ) {
88
- if ( question . length > 70 ) { question = question . substring ( 0 , 67 ) + "..." }
79
+ if ( question . length > 90 ) { question = question . substring ( 0 , 87 ) + "..." }
89
80
return question
90
81
}
91
82
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function findQuestions(url) {
47
47
href . push ( question_link . href ) ;
48
48
routing . push ( rout ) ;
49
49
if ( ! ( number_answers == null ) ) {
50
- questions . push ( "(" + number_answers + ") " + question_link . text )
50
+ questions . push ( number_answers + " " + question_link . text )
51
51
}
52
52
else {
53
53
questions . push ( question_link . text )
You can’t perform that action at this time.
0 commit comments