阅读背景:

使用jQuery检查链接是内部链接还是外部链接

来源:互联网 

I want to write a script which can determine whether a link is internal or external. This is simple from my perspective, all internal links are relative, so they start with a /. All external links start with an https:// - all good so far. However I can't figure out how to do a ':contains()' on anything other than text - how can a search for a string within an attribute?I want to write a script which can determine wh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: