Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

92
Views
Bookmarklet redirecturl trims off #tag

I have a bookmarklet I use to autologin to certain test sites but I have it to where I can redirect them to specific pages after the login occurs. However the urls I try to redirect to contain #pageName, and it ends up trimming it off and just redirecting to the base page. How can I edit and rewrite it to work properly?

function (redirecturl) 
{ 
  var redirecturl =   encodeURIComponent(redirecturl || window.location.href); 
  window.location = window.location.origin + "/account/login/admin?redirecturl="+redirecturl;
})
  (window.location.href + encodeURIComponent("dashboard/spa#leads"));

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!