This file contains hidden or 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
//Must be used through the Scriptable Share Sheet Action from the eBay App. | |
function splitFunc(aString,aDelim,thePos) { | |
let newArray = aString.split(aDelim) | |
return newArray[thePos] | |
} | |
let argsURL = args.urls[0]; | |
let shortURL = splitFunc(argsURL,"?",0); | |
let wv = new WebView(); |