User.js: ToDo: detect & fix broken links

Created on 29 Aug 2017  路  7Comments  路  Source: arkenfox/user.js

  • [x] Check all links in user.js (& fix/remove/replace broken ones)

    • [x] http -> https

    • [x] remove mozilla.org en-US

  • [x] Check all links in Wiki - same as we did for the js

List is at : https://pastebin.com/nTP00T8R (expires in a month) - get busy peoples

thanks Theemin


@Theemim said

Looks like gecko.readthedocs.io has moved to firefox-source-docs.mozilla.org (d2r03xnqvbcxrv.cloudfront.net). There are two references in the user.js that should probably be updated. Other pages continue to exist at *.readthedocs.io, including but not limited to:

autopush.readthedocs.io
bedrock.readthedocs.io
bleach.readthedocs.io
cornice.readthedocs.io
firefox-puppeteer.readthedocs.io
fxa.readthedocs.io
kinto.readthedocs.io
marionette-client.readthedocs.io
minion.readthedocs.io
moz-services-docs.readthedocs.io
mozdef.readthedocs.io
mozilla-balrog.readthedocs.io
mozilla-django-oidc.readthedocs.io
mozilla-push-service.readthedocs.io
mozilla-services.readthedocs.io
mozilla-version-control-tools.readthedocs.io
moztrap.readthedocs.io

Perhaps https://firefox-source-docs.mozilla.org/ should be in the Wiki references section?

enhancement task

Most helpful comment

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/Appendix-C:-Test-Sites#small_orange_diamond-encryption--ciphers--ssltls--certificates) https://rc4.io/ seems gone.
    => RC4 support has been completely removed in FF50. Removed the link from Appendix C

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/Appendix-C:-Test-Sites#small_orange_diamond-other) Intermediate CA Cache Fingerprinting has expired cert and gives me errors when loaded.
    => earthlng: added a note. let's wait and see if they update the cert

  • By clicking on: CSS History Leak I get: Defend Your Spaceship! Is that OK?
    => earthlng: yes that's OK, it's the testpage

    • _If you do not defend your spaceship, the aliens will make your history bunk ... also, the Mole People will surface, and Firefox will assume the number of the beast_ - Henry Ford, 1482

Maybe I forgot some checks on Appendix B: All AMO and GH links do work btw

edit: earthlng: Thanks @Atavic ! :+1:

All 7 comments

Used a simple scanner on the pastebin and found these:

Thorin: will add checkmarks as I do these locally ready for a commit

URL changes

Convert to https

301s

302's if you want to do them

// Credit to pants who has some eagle's eyes (poor eagle)

HTTPS/Cert problems

https://expired.badssl.com/ (expected)
https://subdomain.preloaded-hsts.badssl.com/ (expected)

Other

https://github.com/w3c/IntersectionObserver
https://w3c.github.io/IntersectionObserver/ :ballot_box_with_check:
https://github.com/w3c/IntersectionObserver/blob/gh-pages/explainer.md

Notes

  • [x] Some URLs here and in the original list are en-US specific (developer.mozilla.org, support.mozilla.org, www.mozilla.org). I think you can take that part out of the URLs (search for "en-US/" and replace with "") and the site will redirect to the appropriate language. Up to you if you want to try to use generic URLs or stick to en-US.

Reflection

A tool that can perform in-place correction of URLs within a document would make this type of thing easier. I gotta find me one of those.

Theemim initially thought that was all the links, including in wiki :cry:

All mozilla links, withouten-US/ get redirected to an URL containing en-US/
+Top right option to use other languages is included.

Forgot localization :+1:

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.1-Multiple-Profiles#small_orange_diamond-firefox-installed-method-1-profile-manager) on bottom there's a broken link now, but this one works: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/2.2-Multiple-Profiles-%5BFirefox-Portable%5D#small_orange_diamond-firefox-portable-method-2-firefox-portable-2ndprofile-app) there's a direct download from sourceforge, not portableapps site... a disambiguation?
    => replaced old with new

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.5-Request-Control) Testing Page link doesn't work... probably it's:
    https://github.com/tumpio/requestcontrol/wiki/Testing-links
    => also fixed the old 'Help' link and renamed it to 'Manual'

  • Here:

:broken_heart: Cookie Controller 1 | Web Extension
:broken_heart: Self-Destructing Cookies 1 | Web Extension

...isn't very clear, maybe add question marks?

Web Extension ?

=> already changed by someone

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/Appendix-D:-References#small_orange_diamond-other) there's a link to Firefox Site Compatibility (fxsitecompat) that's also listed on top of same page.
    => thank you! removed from "others" and added the fxsitecompat RSS feed link
  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/Appendix-C:-Test-Sites#small_orange_diamond-encryption--ciphers--ssltls--certificates) https://rc4.io/ seems gone.
    => RC4 support has been completely removed in FF50. Removed the link from Appendix C

  • [x] [Here](https://github.com/ghacksuserjs/ghacks-user.js/wiki/Appendix-C:-Test-Sites#small_orange_diamond-other) Intermediate CA Cache Fingerprinting has expired cert and gives me errors when loaded.
    => earthlng: added a note. let's wait and see if they update the cert

  • By clicking on: CSS History Leak I get: Defend Your Spaceship! Is that OK?
    => earthlng: yes that's OK, it's the testpage

    • _If you do not defend your spaceship, the aliens will make your history bunk ... also, the Mole People will surface, and Firefox will assume the number of the beast_ - Henry Ford, 1482

Maybe I forgot some checks on Appendix B: All AMO and GH links do work btw

edit: earthlng: Thanks @Atavic ! :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

earthlng picture earthlng  路  4Comments

crssi picture crssi  路  4Comments

Thorin-Oakenpants picture Thorin-Oakenpants  路  4Comments

Thorin-Oakenpants picture Thorin-Oakenpants  路  5Comments

earthlng picture earthlng  路  6Comments