GitHub: Preserve URL fragment in auth flow

GitHub: Preserve URL fragment in auth flow

When GitHub redirects you to auth, it'll eventually return you to your original URL, but will lose the fragment part of the URL (e.g. "#L104"). This extension preserves the URL fragment across the redirect.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "GitHub: Preserve URL fragment in auth flow",
  "version": "1.0.0",
  "homepage_url": "https://github.com/cakoose/github-preserve-url-fragment-in-auth-flow-browser-extension",
  "icons": {
    "128": "icon128.png"
  },
  "permissions": [
    "webRequest",
    "webRequestBlocking",
    "https://github.com/*"
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  }
}