Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 09-26-2006, 03:16 AM about javascript
Junior Talker

Posts: 1
Name: Vinz
Trades: 0
how does google crawler read javascript?thanks..
steelfire23 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-26-2006, 03:55 AM Re: about javascript
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
I don't think Google or any other crawler has the ability to understand Javascript, as they are not like users when they visit a site, they are grabbing content, not performing actions, events, etc that triggers Javascript.

Since you're asking this, I guess it's because you'd like to use Javascript and still have pages crawled. This is where you must think about your javascript design. Allways provide a fall back. An example would be like this:

HTML Code:
<a href="thispage.php" onclick="goto('thispage.php');return false;">This Page</a>
For those with javascript enabled, the onclick will take over the action for that link, which means if I were using AJAX I could automatically grab the content and write the page without it reloading the whole page again, making it feel quicker for that user. If javascript however isn't enabled, then the href attribute will take over and send them to the page, with page reload but they still have access to the same content. This is the link google would crawl and all other people with javascript turned off, as long as you provide a fallback means your site will still be accessible.

One thing that people also say is that doing this breaks the ability for a person to bookmark the page, well it does but it's not too much of an effort to provide a script so they can easily bookmark the site, so that is really a small complaint that can easily be fixed and other complaints, possibly have alternative solutions too.

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Old 09-27-2006, 08:48 AM Re: about javascript
Kirtan's Avatar
Who Am I?

Posts: 377
Name: Venkat Raj
Location: Salem, South India
Trades: 3
I am not sure. But i think all crawler just skip <script> tag. But google crawler tries to read SWFs to find links!!
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 10-17-2006, 08:18 AM Re: about javascript
seomumbai's Avatar
Skilled Talker

Posts: 98
Trades: 0
I think that google crawler read javascript by using script tags.
seomumbai is offline
Reply With Quote
View Public Profile
 
Old 10-18-2006, 06:48 PM Re: about javascript
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
All search engine indexers can read the code between <script> </script> tags, but they cannot execute the script commands.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to about javascript
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26917 seconds with 12 queries