Instead of parsing out the enterprise domain and persisting it into a cookie, how do you feel about searching for links with the text "View it on GitHub"? This selector becomes:

```js
// wasn't sure about case sensitivity of View/view
github_links = jQuery('[a:contains("iew it on GitHub")')
```