forked from B0sintBlanc/Osint-Bookmarklets
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding bookmarklets for epoch, keybase, and twitter
- Loading branch information
1 parent
0d41b44
commit 320da52
Showing
4 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Epoch converter | ||
|
||
JS: | ||
var utcSeconds=prompt("Enter epoch time:"); | ||
var myDate = new Date( utcSeconds *1000); | ||
alert(myDate.toGMTString()+"<br>"+myDate.toLocaleString()); | ||
|
||
Bookmarklet: | ||
javascript:(function()%7Bvar%20utcSeconds%3Dprompt(%22Enter%20epoch%20time%3A%22)%3Bvar%20myDate%20%3D%20new%20Date(%20utcSeconds%20*1000)%3Balert(myDate.toGMTString()%2B%22%3Cbr%3E%22%2BmyDate.toLocaleString())%7D)() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Keybase API | ||
|
||
JS: | ||
var username=prompt("Enter the username:"); | ||
var keybase="https://keybase.io/_/api/1.0/user/lookup.json?username="+username; | ||
window.open(keybase, "_blank"); | ||
|
||
Bookmarklet: | ||
javascript:(function()%7Bvar%20username%3Dprompt(%22Enter%20the%20username%3A%22)%3Bvar%20keybase%3D%22https%3A%2F%2Fkeybase.io%2F_%2Fapi%2F1.0%2Fuser%2Flookup.json%3Fusername%3D%22%2Busername%3Bwindow.open(keybase%2C%20%22_blank%22)%7D)() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Twitter search for 2 people conversation | ||
|
||
JS: | ||
var personFrom=prompt("Enter from person:"); | ||
var personTo=prompt("Enter to person:"); | ||
var twitter="https://twitter.com/search?q=from%3A"+personFrom+"%20to%3A"+personTo+"&src=typed_query&f=live"; | ||
window.open(twitter, "_blank"); | ||
|
||
Bookmarklet: | ||
javascript:(function()%7Bvar%20personFrom%3Dprompt(%22Enter%20from%20person%3A%22)%3Bvar%20personTo%3Dprompt(%22Enter%20to%20person%3A%22)%3Bvar%20twitter%3D%22https%3A%2F%2Ftwitter.com%2Fsearch%3Fq%3Dfrom%253A%22%2BpersonFrom%2B%22%2520to%253A%22%2BpersonTo%2B%22%26src%3Dtyped_query%26f%3Dlive%22%3Bwindow.open(twitter%2C%20%22_blank%22)%7D)() |