Created
April 6, 2023 05:27
-
-
Save urasandesu/56ef65d26c0761770b02bfbe2d7b303d to your computer and use it in GitHub Desktop.
The bookmarklet to search urasandesu last 1 month's tweets with retweets.
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
javascript: (function () { | |
let user = 'urasandesu'; | |
let today = new Date(); | |
let lastMonth = new Date(); | |
lastMonth.setMonth(today.getMonth() - 1); | |
let since = lastMonth.toISOString().slice(0, 10); | |
let until = today.toISOString().slice(0, 10); | |
location.href = 'https://twitter.com/search?q=' + encodeURIComponent(`from:${user} include:nativeretweets since:${since} until:${until}`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment