Enforcing _blank target on external links

When training new clients on how to edit their own websites in wordpress, I often mention the convention of ‘targeting blank’ when linking to another website. Adding the ‘target=”_blank”‘ tag to the link opens a new window when the user clicks the link, leaving the client website open in the background . Still, I know clients will forget this so I often add a little JavaScript code to make sure the links are always set to target blank:

Since I know all my wordpress sites include jQuery, I use that library to make the call as compact as possible:

CODE:
$(document).ready(function() {
$(“a[href^=’http:’]”).
not(“[href*=’CLIENTDOMAIN.COM’]”).
attr(‘target’,’_blank’);
});

what does it do? it finds all links that start with http:, then filters out (not) those links that go to the CLIENTDOMAIN.COM (their domain name), then it sets the ‘target’ attribute to ‘_blank’, linking all external links on the

Google DNS Hacked! at my local ISP

Update: as of 10:50 DNS am is restored for google.com.

Its happened, the internet is dead!

Well, nearly dead anyway – today I was suddenly unable to access Google’s Analytics service around 10:10am MST. At first i thought it was a general failure, but other sites were still working. So I issued a whois command, clearly showing google’s dns has been hacked – at least at my ISP’s DNS server – 216.237.72.66.

whois google.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
GOOGLE.COM.ZZZZZ.DOWNLOAD.MOVIE.ONLINE.ZML2.COM
GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM
GOOGLE.COM.ZNAET.PRODOMEN.COM
GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET
GOOGLE.COM.VN
GOOGLE.COM.UY
GOOGLE.COM.UA
GOOGLE.COM.TW
GOOGLE.COM.TR
GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM
GOOGLE.COM.SPROSIUYANDEKSA.RU
GOOGLE.COM.SERVES.PR0N.FOR.ALLIYAH.NET
GOOGLE.COM.SA
GOOGLE.COM.MX
GOOGLE.COM.IS.SHIT.SQUAREBOARDS.COM
GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET
GOOGLE.COM.IS.HOSTED.ON.PROFITHOSTING.NET
GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM
GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM
GOOGLE.COM.DO
GOOGLE.COM.CO
GOOGLE.COM.CN
GOOGLE.COM.CHIQUITASEXY.COM
GOOGLE.COM.BR
GOOGLE.COM.BEYONDWHOIS.COM
GOOGLE.COM.AU
GOOGLE.COM.AR
GOOGLE.COM

To single out one record, look it up with “xxx”, where xxx is one of the
of the records displayed above. If the records are the same, look them up
with “=xxx” to receive a full display for each record.

>>> Last update of whois database: Thu, 14 Jan 2010 17:17:37 UTC <<<

NOTICE: The expiration date displayed in this record is the date the
registrar’s sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant’s agreement with the sponsoring
registrar.  Users may consult the sponsoring registrar’s Whois database to
view the registrar’s reported date of expiration for this registration.

TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services’ (“VeriSign”) Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability.  VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.

The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.

Western Colorado Website Hosting

Western Colorado Website Development & Hosting
Earthbound is based in Hotchkiss, Colorado one hour south of Grand Junction. We have been offering website development and website hosting services from Western Colroado since 1993! We provide world class service, with a small town touch.
If your current site is in need of a facelift, a new feature or shopping cart, a better back end or cleaner navigation, Earthbound offers the professional service you need to create a web site that exceeds your expectations. Earthbound’s Complete Website Packages start at $250. Take a looks at some of the web sites developed by Earthbound to get an idea of what is possible.
Website Development Packages
Ready for a web site or a new web site design? We can help – we offer the web site design & development services you need, at a reasonable price. Call now for more information.
Basic Website Packages
$250 Business Website Package
The business web site package includes one year domain name registration, one year basic web hosting, one hour consultation time, one page web site design with keywords & open directory & google submission. $750 Advanced Website Package
The advanced web site package includes one year domain name registration, one year business web hosting, two hours consultation time, five page web site design with navigation menu, plus keywords analysis, open directory & google submission. $1500 and up – Advanced Website Package
Includes one year domain name registration, one year business web hosting, ten hours consultation/keyword tuning/content creation time, multi page web site design with navigation menu, high value keyword links & target pages, plus keywords analysis, open directory & google submission, engine placement analysis and tuning for one year. $75/month and up Google, MSN or Overture Keyword Campaign
One month of keyword advertising with Google Adwords or Overture, includes $50 in keyword credit and $25 in keywords tuning, research and adjustment.
$5000 & Up – Custom database driven website
Earthbound builds a custom web site to meet your specifications. Call for a quote.
Complete Web Hosting Packages
Every wes site hosting plan offers everything you need to launch your own web site – www.your-company.com. Each account includes ftp access, as well as a web based control panel access, enabling you to set up emails, databases and more – you control your own site directly. $99/Year Complete Business Hosting
A fantastic rate for the perfect Business Hosting account, this plan provides all the basic features you need to get www.your-company.com up and running.
The Complete web site hosting plan includes 250 MB disk space and 1000 MB data transfer, one email address/forwarder and a web control panel. In plain english, thats more than enough space, and capacity to post up dozens of pages and hundreds of photos.
In addition, the Complete Business Hosting plan includes all of the standard hosting features:All plans include a sophisticated Website Control Panel that lets you control everything about your domain. Includes site statistics, FTP access, web mail, Website applications, MySQL database, plus mailing list, php, cgi, and FrontPage capabilities, and more… Additional features such as storage or bandwidth, mailboxes etc. can be added as you need them for a small additional fee.
Priced at $15/month or $99/year (only a $8.25 month!), this is the perfect plan for most individuals or small businesses. Order your plan now – most accounts are set up within one business day.
Advanced Business Website Hosting
The Advanced Business Website Hosting plan includes all the features that most small to medium sized business web sites will ever need. The Advanced Business Website Hosting package includes 1 GB of disk space and 5 GB of data transfer, 6 email POP boxes, 6 email forwarders, 6 email auto responders and 6 web user accounts. Plus advanced capabilities like SSL, streaming and more.
The Advanced Business Website Hosting plan includes all of the standard hosting features:All plans include a sophisticated Website Control Panel that lets you control everything about your domain. Includes site statistics, FTP access, web mail, Website applications, MySQL database, plus mailing list, php, cgi, and FrontPage capabilities, and more… Additional features such as storage or bandwidth, mailboxes etc. can be added as you need them for a small additional fee.
Priced at $25/month or $255/year (only a $21.25 month!), this plan will suit the needs of most business users. Order your plan now – most accounts are set up within one business day.
Get connected and get your free consultation by using our click to call feature or dial us directly at 970-872-4421 or toll free at 800-399-4085.

Earthbound is based in Hotchkiss, Colorado one hour south of Grand Junction. Earthbound has been offering website development and website hosting services from Western Colorado since 1993! Earthbound provides world class service, with a small town touch.

If your current site is in need of a redesign, a new feature or shopping cart, a better back end or cleaner navigation, Earthbound offers the professional service you need to create a web site that exceeds your expectations. Earthbound’s Complete Website Packages start at a low $250. Complete, custom, dynamic sites start at $3000. Take a looks at some of the web sites developed by Earthbound to get an idea of what is possible.