Created
January 22, 2009 02:37
-
-
Save 958/50388 to your computer and use it in GitHub Desktop.
[Sleipnir]Add ClipBoard URL to ShootingStar Action
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
var str = _window.clipboardData.getData('text'); | |
for (var i = 0, strList = str.split('\n'); i < strList.length; i++) | |
if (strList[i].match(/^https?:\/\//)) | |
sleipnir.API.ExecuteAction("ShootingStarAddItem("+strList[i]+")"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment