This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function click(){ | |
| return new Promise(resolve=>{ | |
| [...document.querySelectorAll('.js-stream-item.stream-item')].forEach(container => { | |
| container.querySelector('.ProfileTweet-action--unfavorite').click(); | |
| container.remove(); | |
| }); | |
| resolve(); | |
| }) | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* HTTP Function to initialize / reset question counter manually */ | |
| const express = require('express'); | |
| const cors = require('cors')({ | |
| origin: true | |
| }); | |
| const app = express(); | |
| app.use(cors); | |
| app.get('/', (req, res) => { | |
| const topicID = req.query.topicID, |
OlderNewer