public static void InsertLink(string url) { if (!Helper.String.HasValue(url)) return; if (IsLinked(url)) return; jQuery .Select(Html.Head) .Append(string.Format("<link rel='Stylesheet' href='{0}' type='text/css' />", url)); }