rknightuk / local-or-live

Chrome extenstion to add a warning bar to websites to indicate if they are local or live.
https://chrome.google.com/webstore/detail/local-or-live/jkaaaiinegnfdfimdmmppljjomlidnlo
10 stars 4 forks source link

Factor in site depth #5

Open chaoaretasty opened 8 years ago

chaoaretasty commented 8 years ago

I have a system where a preview version is on the same domain but on a nested URL. I've put the nested version in "local" and the top level in "live" but currently it treats the nested version as live.

mikestreety commented 7 years ago

I was about to make an issue of the same ilk. I was hoping the bar would match the path (e.g. i only want it to appear when viewing the CMS, not the front end. 😀

rknightuk commented 7 years ago

I don't have the time/use case to implement this but I'd welcome a PR for it.