|
@@ -41,6 +41,9 @@ class ParseCard {
|
|
|
let item
|
|
|
for (let i in arr_shadow) {
|
|
|
item = arr_shadow[i].childNodes
|
|
|
+ if(has_denet){
|
|
|
+ break
|
|
|
+ }
|
|
|
if (item) {
|
|
|
for (let j in item) {
|
|
|
if (item[j].innerText && item[j].innerText.includes('#DeNet')) {
|
|
@@ -61,8 +64,8 @@ class ParseCard {
|
|
|
let arr_article = document.querySelectorAll('article') || []
|
|
|
let _txt
|
|
|
for (let i in arr_article) {
|
|
|
- _txt = arr_article[i].innerText || ''
|
|
|
- if (_txt.includes('#DeNet') || this.compatibleMask(arr_article[i]) && !this.isHasIframeByArticle(arr_article[i])) {
|
|
|
+ _txt = arr_article[i].innerText || ''
|
|
|
+ if ((_txt.includes('#DeNet') || this.compatibleMask(arr_article[i])) && !this.isHasIframeByArticle(arr_article[i])) {
|
|
|
de_net_card.push({
|
|
|
time: new Date().getTime(),
|
|
|
dom: arr_article[i]
|