Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*This script allows me to paste URL's into drafts to look at later in google chrome
- This removes the "format://" from the URL */
- var x = draft.content
- x = x.split("//") //The actual separation returns {format:,url}
- draft.defineTag("split",x[1]) //enables the url to be added to url code
- /*The Following is entered into a URL Action
- googlechrome://[split] - referencing the split tag we created earlier. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement