Board Thread:General Coding Help/@comment-9605025-20180428232938/@comment-27958705-20180501113306

Andrewds1021 #13 encodeURIComponent(decodeURIComponent(location.pathname));   i had to use this method in on of my scripts, cuz strings were encoded by different ways.