jerone / UserScripts

🐵 My UserScripts
https://github.com/jerone/UserScripts#readme
GNU General Public License v3.0
342 stars 39 forks source link

Github Pages Linker no longer works #158

Closed leocaseiro closed 3 years ago

leocaseiro commented 3 years ago

I think Github updated its UI and components. So the script no longer works.

darkred commented 3 years ago

@leocaseiro Your PR unfortunately has a side effect: it causes clicks on the branch selector, so it's expanded and then closed momentarily.

STR

Just open any repo page, e.g. this repo having login to GitHub or not, and notice the branch selector element:

Tested with latest Tampermonkey 4.13.6137 beta with Chrome 91, Firefox 89 (fresh profiles)

jerone commented 3 years ago

Oh lol, that's why I was seeing that. Will have a look at it.

jerone commented 3 years ago

So, I just released a new version. But there are some limitations:

  1. It's slow and heavy.
  2. It only works on the root of the project page.

Open for other PR's to improve ux...

leocaseiro commented 3 years ago

Yeah, it's a little junky, and it's getting annoying, I'll try to improve that when I have some more time.

leocaseiro commented 3 years ago

Oh, just noticed you did fix it with the environments. Good job @jerone 👏 I think I can handle only using on the main page.