This file contains 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
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
// Unretweet normally | |
const unretweetTweet = async (tweet) => { | |
await tweet.querySelector('[data-testid="unretweet"]').click(); | |
await timer(250); | |
await document.querySelector('[data-testid="unretweetConfirm"]').click(); | |
console.log('****// Unretweeted Successfully //****') | |
} |
This file contains 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
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
setInterval(async () => | |
{ | |
// Get all tweets | |
const allTweets = document.querySelectorAll('.css-1dbjc4n.r-18u37iz.r-1wbh5a2.r-13hce6t'); | |
// Filter tweets | |
const filteredTweets = Array.prototype.slice.call(allTweets).filter(x => x.innerText === '@{YOUR_TWITTER_NICKNAME}'); // --> e.g. '@twitter' |
This file contains 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
const timer = ms => new Promise(res => setTimeout(res, ms)); | |
setInterval(async () => | |
{ | |
const tweetsLikeButtonList = document.querySelectorAll('div[data-testid="unlike"]'); | |
console.log('****// ' + tweetsLikeButtonList.length + 'Like Found! //****') | |
for (const button of tweetsLikeButtonList) { | |
button.scrollIntoView(); | |
await button.click(); | |
console.log('****// Unliked //****'); |
This file contains 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
// Ekşi sözlük hesabınızdaki entry'leri otomatize bir şekilde silmeniz için kullanabileceğiniz script. | |
// Profil sayfanıza gidip sağ tık yapıp (inspect/incele) veya f12 tuşuna basıp "Console/Konsol" kısmına bu script'i yapıştırıp enter'a basarsanız her 61 saniyede bir(ekşi sözlük rate limiti 60 saniye. garantiye almak için 61 yaptım) entarilerinizi silecektir. | |
// Süreyi kısaltırsanız entarileriniz silinmez. | |
// Kod yapıştırdıktan 61 saniye sonra başlamakta. | |
// Ekstra olarak günlük entry silme sınırından sonra silinmiş gözükse de silinmiyor. Tam hesaplamasam da 40-50 civarı bir sınırı var galiba. | |
setInterval(async () => { | |
// ilk entarinin 3 nokta ile açılan ayar menüsünü bul ve aç | |
const entari = document.querySelector('#topic > .topic-item'); | |
This file contains 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
export interface IVueMultiselectProps { | |
internalSearch: boolean; | |
options: Array<any>; | |
multiple?: boolean; | |
value: string | number | object | null; | |
trackBy: string; | |
label: string; | |
searchable: boolean; | |
clearOnSelect: boolean; | |
hideSelected: boolean; |