|
|
@@ -7,6 +7,7 @@ let html = $response.body || '';
|
|
|
let regex = /<a class="tgme_action_button_new shine" href="([\S]+)">([^<]+)<\/a>/;
|
|
|
|
|
|
console.log("###tglinks###");
|
|
|
+console.log(html)
|
|
|
// let regex = /<div class="tgme_page_action">\s*<a class="tgme_action_button_new shine" href="([\S]+)">([^<]+)<\/a>\s*<\/div>/;
|
|
|
// let matches = html.match(regex);
|
|
|
// if (matches) {
|
|
|
@@ -27,6 +28,6 @@ console.log("###tglinks###");
|
|
|
// newHtmlStr = newHtmlStr.replace('if\s*\(true\)\s*\{', 'if (false) {');
|
|
|
// html = newHtmlStr;
|
|
|
// }
|
|
|
-$.done({
|
|
|
+$done({
|
|
|
body: html
|
|
|
});
|