jerone / UserScripts

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

(Github Pull Request From Link) Wrong url on forks where another repo name is choosen #145

Closed eight04 closed 5 years ago

eight04 commented 5 years ago

Script: Github Pull Request From Link 19.1 Browser: Cent Browser Version 3.8.5.69 (Official Build) (32-bit) (Chromium 71.0.3578.98) Addon (e.g. Tampermonkey): Tampermonkey BETA 4.8.5898 Description:

STR:

  1. Visit https://github.com/stylus/stylus/pull/2416
  2. Click the eight04:dev-empty-at-rules link
  3. Navigate to https://github.com/eight04/stylus/tree/dev-empty-at-rules and result as 404.

It seems that the repo name in title attribute is correct.

jerone commented 5 years ago

Thanks for reporting. I can confirm this being an issue. It looks like GitHub Refined is doing it correctly. I'll investigate.

jerone commented 5 years ago

It looks like you choose another name than the original repo name; stylus-1 instead of stylus: https://github.com/eight04/stylus-1/tree/dev-empty-at-rules.

Anyways, this is fixed.