As a human I also like it when I can see what topic a URL points to (eg. when it's being shared on HN, or pasted into source code, etc). URLs that just have an opaque ID or terse filename are not very user-friendly.
As a human I also like it when I can see what topic a URL points to (eg. when it's being shared on HN, or pasted into source code, etc). URLs that just have an opaque ID or terse filename are not very user-friendly.
Want to middle click this one specific link to open it in a background tab? Instead of respecting default browser behavior the user is expecting, JIRA happily hijacks the mouse down event to open your background link in the foreground instead, which prevents you from opening multiple links in a convenient timely manor.
A deployment happened on December 29th. It's January 2th. Suddenly, you need to know if the deployment happened 1 week ago or 1 month ago. You remember the deployments page usually says useful information such as X days ago or X weeks ago. Based on the facts, a rational normal person is expecting something like 4 days ago. JIRA says "last year".
for (let value of document.querySelectorAll('.first a.bylink.comments')) {
let href = value.closest('.top-matter').querySelector('.title a.title.may-blank').href;
if (href != value.href && (
href.startsWith('https://www.reddit.com/') ||
href.startsWith('https://v.redd.it'))
) {
console.log (href, value.href);
value.closest('.top-matter').querySelector('.title a.title.may-blank').href = value.href;
}
}First one is also dynamic, so next ~day its different breaking one of the fundamental features of HTML - :visited link color.
This may add a bit of complexity (if the slug data is mutable you need to allow any past versions or freeze it in creation) but isn't too hard if this is the approach that you want to take.
https://www.reddit.com/r/admin/comments/1c6lp0z/link_slug_po...
I'm gonna embroider that on a throw pillow and use it to hit webdevs.