File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 105105 document .head .appendChild (scriptJob);
106106` ` `
107107
108- ` ` ` js
108+ ` ` ` html
109109 let dom_answer_card = " " ;
110110 let isFirst = true ;
111111 for (let answer of (data? .data_content ? .data ? .answers ? .nodes || [])) {
143143 < / div>
144144 < div class = " answer-content" itemprop= " text" >
145145 ${answer? .content || " " }
146+ ` ` `
146147
148+ ` ` ` html
149+ < div class = " answer-rating" >
150+ ${isFirst ? ` <span class="best-answer-badge"><i class="fas fa-check-circle"></i> {{Jawaban Terbaik}}</span>` : " " }
151+ < div class = " rating-stars" >
152+ < i class = " fas fa-star" >< / i>< i class = " fas fa-star" >< / i>< i class = " fas fa-star" >< / i>
153+ < i class = " fas fa-star" >< / i>< i class = " fas fa-star" >< / i>
154+ < span class = " rating-count" > (< span itemprop= " upvoteCount" > ${answer? .content ? .length || 0 }< / span> )< / span>
155+ < / div>
156+ < / div>
157+ < / div>
158+ < div class = " answer-content" itemprop= " text" >
159+ ${answer? .content || " " }
147160` ` `
148161
149162**If you ever encountered any website have this structure, exit out immediately.**
You can’t perform that action at this time.
0 commit comments