how to fetch a aem complete url with editor.html or cf# in javascript. When i used javascript/jquery methods to fetch a url, editor.html or cf# is not coming.
For eg: In localhost:4502/editor.html/content/sample if i use window.location.href or any other js methods
it is returning only location:4502/content/sample.