Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
150
rated 0 times [  157] [ 7]  / answers: 1 / hits: 9152  / 4 Years ago, tue, september 22, 2020, 12:00:00

Some websites like https://featurepoints.com are using a technique in which the user opens a new page without any kind of refresh, the URL will be changed but there is no refresh or an ajax usage.
What techniques are they using? Is it pushState?


More From » html

 Answers
16

I think you might be looking for history.pushState


history.pushState([data], [title], [URL]);

Using your example of https://featurepoints.com/


history.pushState(null, 'FeaturePoints Login', 'https://featurepoints.com/login');

Source and more details https://css-tricks.com/using-the-html5-history-api/


[#2627] Friday, September 18, 2020, 4 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
alorac

Total Points: 262
Total Questions: 82
Total Answers: 97

Location: Libya
Member since Mon, Dec 7, 2020
4 Years ago
alorac questions
Sat, Oct 10, 20, 00:00, 4 Years ago
Wed, Jul 1, 20, 00:00, 4 Years ago
Wed, Jun 3, 20, 00:00, 4 Years ago
Sun, May 17, 20, 00:00, 4 Years ago
Wed, Mar 4, 20, 00:00, 4 Years ago
;