Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
h4ckr14
Jul 27th, 2016
698
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
diff
function
extractHostname
(
stringURL
)
{
var
parsedURL
=
new
URL
(
stringURL
)
;
if
(
!
parsedURL
||
!
parsedURL.
hostname
)
{
return
null
;
}
return
parsedURL.
hostname
.
toLowerCase
(
)
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🔥G2A.com Free Gift Card Guide MAY 2024 FIX💰
Python | 48 min ago | 0.33 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 55 min ago | 0.36 KB
💰G2A.com Free Gift Card Guide MAY 2024 FIX🎉
Python | 56 min ago | 0.33 KB
2024-05-24_stats.json
JSON | 1 hour ago | 5.07 KB
🎉G2A.com Free Gift Card Guide MAY 2024 FIX💰
Python | 1 hour ago | 0.34 KB
2024-05-24_stats.json
JSON | 1 hour ago | 5.07 KB
2024-05-24_stats.json
JSON | 1 hour ago | 5.04 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!