question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Url parameters ignored

See original GitHub issue

Hello,

Thanks for this cool plugin.

After some testing I find a case where Highway ignore my link: if I’m on a page and the link target the same page but with parameters. For example, I’m on http://example.com/listing and I click to go to http://example.com/listing?page=2 and nothing happen.

After investigations, it seems to come from a Core#click method which doesn’t test url parameters: https://github.com/Dogstudio/highway/blob/0e3ebc8448e05ad26e72624709ef7465990786a1/src/core.js#L134

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ThaoD5commented, Jul 10, 2018

Hello @TristanPct , The fix provided is only a quick fix to avoid having no redirection at all.

For the moment it’s not ideal but we are going to look deeper into this issue when time comes 😃

Best regards, Thao

1reaction
Anthodpntcommented, Jul 6, 2018

Ok fine, well look at it and enable transition for same pathname with parameters !

Have a nice day, Anthodpnt

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I ignore a parameter in a URL? - Stack Overflow
In the first, I have a single parameter to g.com which is u , which is a URL that has parameters: var components...
Read more >
Ignore URL Parameters | Nudgify Docs
The option 'Ignore URL parameters' applies to Visitor Nudges. Visitor Nudges show recent visitors of the pages on your website.
Read more >
Google Lets You Tell Them Which URL Parameters To Ignore
The setting, called Parameter Handling, enables site owners to specify up to 15 parameters that Google should ignore when crawling and indexing ...
Read more >
About URL parameters - Google Ads Help
URL parameter is a way to pass information about a click through its URL. You can insert URL parameters into your URLs so...
Read more >
How can I ignore tracking URL parameters? - Piwik PRO
To exclude URL parameters for a site or app, follow these steps: Available from version 16.0.0. For versions below 16.0.0, go to Menu...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found