Timeline for How to get the site name from document to pass to API?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 22, 2013 at 13:38 | history | edited | Tim Stone♦ |
edited tags
|
|
Oct 15, 2012 at 14:02 | vote | accept | hippietrail | ||
Oct 15, 2012 at 13:49 | answer | added | hippietrail | timeline score: 0 | |
Oct 15, 2012 at 13:38 | answer | added | Tim Stone♦ | timeline score: 2 | |
Oct 15, 2012 at 13:17 | history | edited | hippietrail | CC BY-SA 3.0 |
can we just use `window.location.hostname` and remove the `.com` from the end?; Actually that might be a bit too simple. At least the "big three" sites plus Stackapps will work but all the others I can think of also need the `.stackexchange` removed...
|
Oct 15, 2012 at 7:59 | history | asked | hippietrail | CC BY-SA 3.0 |