Allow disabling the check for presence of fragment identifier

Created on 14 June 2024, 15 days ago

If the URL being checked contains a fragment identifier, link checker will check if the fragment identifier is present in the content. While this is very handy, it sometimes gives false positives.

Take for example this URL: https://www.sfpd.fgov.be/nl/recht-op-pensioen/igo#Hoeveel

It has a fragment identifier "Hoeveel", but you'll notice that the fragment identifier is not present in the initial response. It becomes present when JavaScript finished rendering (this website obviously doesn't have server side rendering).

I'm on a project that has quite a few of these links. The most important thing to know for us, is that the URL works. If the fragment identifier doesn't exist is of lesser importance to us.

Can we provide an option to disable checking the presence of the fragment identifier?

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium rp7

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024