Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
jQuery add atribute title to _blank
siristru
May 8th, 2023
3,147
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
jQuery
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
$
(
function
(
)
{
//Add attribute title="Link opens in a new tab" to links with target="_blank"
$
(
"a[target='_blank']"
)
.
attr
(
{
title
:
"Link opens in a new tab"
}
)
;
}
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Laravel Module
Bash | 6 min ago | 0.33 KB
House applet
Java | 15 min ago | 0.76 KB
Hour Glass drawing
Java | 28 min ago | 0.46 KB
WAN 2.2 I2I
JSON | 1 hour ago | 21.97 KB
Pick Up Item
C# | 2 hours ago | 3.33 KB
Untitled
Python | 3 hours ago | 5.21 KB
LALOL-Hub-Backdoor
Lua | 5 hours ago | 0.63 KB
FE staff
Lua | 5 hours ago | 17.15 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!