#2476 updated the code for getting the current url and added in master
#2476 updated the code for getting the current url and added in master

ahmedkaludi/Accelerated-Mobile-Pages,ahmedkaludi/Accelerated-Mobile-Pages