JavaScript Snippet: Get Trackback URL
-
Comments:
- here.
Here’s a nice little bit of JavaScript that grabs the Trackback URI of the current post. I’m not quite sure how to use it yet. It would be nice to be able to automatically add this to the BlogThis link, but there’s no way to do so, since cross-site scripting is disabled.
document.body.innerHTML.split("trackback:ping=\"")[1].split("\"")[0];
The other thing that might be cool is to copy this to the clipboard, but I’m a bit loath to do things like that which are “invisible” to a user.