`HTMLAnchorElement` is missing `pathname`
https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname
Read through: https://github.com/WebReflection/linkedom/issues/103 I assume this is out of scope.
@damienwebdev not sure what has that thread to do with your request ... that thread is about evaluating JavaScript and provide global APIs in here ... your request is about a link attribute?
P.S. the file would be different, it'd be the HTMLAnchorElement instead, but the concept is the same: https://github.com/WebReflection/linkedom/issues/143#issuecomment-1159541964
These kind of requests keep landing without issues as long as contributors are willing to help out 👍
if you would like to provide a lazy accessor for history or others API, as long as it’s lazy and doesn’t change anything else around this project, I’d be more than happy to have a look, but if your goal is to have JS running within linkedom documents, I recommend you go back to JSDOM or use cypress, puppeteer, or others solutions.
This is exactly my use-case, I'm trying to SSR an Angular app with Linkedom (which I have been surprisingly successful with - it's quite fast too!) But I had to make some amendments to get there.
I figured, since this was such an amendment specifically for that use case it was out of the scope of this library.
@damienwebdev I don't know why you brought that quote here in a completely unrelated issue ... my answer here was about you needing to send a PR to apply that change that has nothing to do with what you quoted there.
If you won't do that, it's OK, close this again, and let's move forward ... if you do, please don't bring to this issue completely unrelated discussions as that doesn't help anyone, thank you.