R/utils.r

Defines functions url_get_domain

#' @noRd
url_get_domain <- function(x) {
  x <- sub("^#HttpOnly_\\.|^\\.", "", x)
  urltools::domain(x)
}

Try the cookiemonster package in your browser

Any scripts or data that you put into this service are public.

cookiemonster documentation built on May 29, 2024, 8:12 a.m.