开发者

Bookmarklet title

I want to write a bookmarklet that will have a title when it's dragged to the bookmarks bar. I have the bookmarklet that I want working, but it doesn't have a title by default.开发者_如何学C

I feel like there's probably a way to add a title property. Any ideas?


You mean

<a href="javascript:alert('bla')">Alert Bla</a>

which should create the title "Alert Bla" when dragged onto the bar

However please note the chrome bug

Alternatively change the name of the bookmark in the book mark properties

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜