Noob here.
How can I do this:
User types URL into a form on my page, a script takes that url and appends a string to the url, the script also changes all “:” %3A into and “/” into %2F and all “?” into %3F (basically change all characters into URL encoded characters), then the script opens a new tab to the newly contructed URL.
So with more details, the user will type a Google Play app URL (ex [url]https://play.google.com/store/apps/details?id=com.proletariat.worldzombination
The type that into my form, then some how I need to it add this to the start: [url]http://download.freeapk.ru/en.php?
Then I need it to look like this: [url]http://download.freeapk.ru/en.php?package=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.proletariat.worldzombination
Is this possible?