Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:59:50+00:00 2026-06-16T01:59:50+00:00

I’m using HTML5 jQuery bundled History.js plugin. It’s working fine, but i need to

  • 0

I’m using HTML5 jQuery bundled History.js plugin. It’s working fine, but i need to have ability to use links like (works fine without History.js)

http://website/url#popup=/url/some/more/params/

For a moment, if i will try to use it my hash page will be reloaded without hash – i’ve just tested this in environment with just History.js plugin (to ensure that is a History.js problem).

http://website/popup=/url/some/more/params/

But if i will try hash without “/” symbol, everything will be ok, location.hash will stay unchanged, no page reload will be made:

http://website/#popup=url

Problem is that i would like to use native urls in #popup parameter.
It’s easy to handle and displayed this way link will be clear to users, everyone will be able to share link after popup is opened.

Is it possible to disable such location.hash change and redirects? I really don’t think that using links with special delimeres is good idea:

http://website/#popup=url:param:values

P.S. I’ve tried to apply encodeURIComponent() to popup url before adding it to location.hash, following url also removes hash and makes redirect:

http://website/#popup%3D%2Ftest%2Furl
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:59:51+00:00Added an answer on June 16, 2026 at 1:59 am

    Your URL is not valid, forward slash should be %2F if it comes after the hash.

    Furthermore, entering in the address bar

    http://stackoverflow.com/questions/13953766/history-js-rewrites-location-hash-value#popup=eerste/tweede/derde

    Will create #popup=eerste/tweede/derde in location.hash, which is correct.

    Seems to me you should file a bug report with the authors of History.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have thousands of HTML files to process using Groovy/Java and I need to
I have a jquery bug and I've been looking for hours now, I can't
I want use html5's new tag to play a wav file (currently only supported
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I need to clean up various Word 'smart' characters in user input, including but
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I want to count how many characters a certain string has in PHP, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.