Does google crawl javascript? [closed] - javascript

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Does Google crawl content loaded/created via Javascript? Traditionally I know the answer was no, but I'm having trouble finding up-to-date sources on this.

Google understands some parts of the code and can render thumbnails of javascript pages, but I would never rely on this for my pages to be indexed.
The best is to create number of html pages just as google webmaster suggests.
Dont forget to put sitemap as well.

I can't write just one word or it would be "NO", the reason being, a crawler can't execute events like a "mouseover" on every element to change the DOM and wait for ajax responses etc... Think about all the work the crawler would have to simulate to read DOM changes that may or may not happen. This would produce different content for the same URL, so it assumes to never do that so your content appears to be the same from an SEO standpoint. Does that help a little more?

Related

How can I edit javascript in a browser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I'm trying to modify a webpage I access that has a table with a bunch of rows. I'd like to loop through and compare a name in that row with a name on another list I have, if it's there make that name in the table red. I don't have any code yet, but I'm lost when it comes to figuring out how to run this code when I run the webpage in my chrome browser. Does anyone have an example or tutorial about how to do this? Most posts on this topic are many years old and it's been hard to find this info. I appreciate your help!
It sounds like what you're trying to do is modify the structure of a webpage you don't own the code to. While you can use the developer tools to run arbitrary JS, that becomes tedious to do every single time.
I think what you want is a browser plugin. Check out the resources below:
Chrome: https://developer.chrome.com/extensions/getstarted
Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension
There may also be specific browser plugins already that let you run arbitrary JS code on certain pages, but I am not aware of any myself.

web crawling pages with JS events [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am trying to get a list of singles released in 2018 from allmusic.com.
It is easy enough to go to their advanced search page and input those parameters, but then I would have to copy and paste the information by hand. All the information is in the html, but it has be generated by clicking the search button and the page navigation buttons. The url itself doesn't change. That puts it well out of my ability to crawl via my limited beautiful soup skills.
Does anyone know how to web crawl java script generated html?
Without looking into the details of the particular website, I imagine you would need to find out what HTTP requests the JS code is making and work backwards from there.
Start by inspecting the network calls (e.g. in Chrome DevTools, just look in the Network tab) and then write something to make those same calls to retrieve the data.

Advertising Links Websites [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have recently noticed that when i visit certain websites, there are usually links tied to certain words. I can't find an answer from where i have looked, and i have noticed similar trends from several websites, but especially my own.
Is this a programming, hack issue that can be solved by adding specific code or is it my hosting company doing this, or does it mean that someone has gained control to my ftp portal?
Please see the image below of what i mean and any help would be appreciated.
They're called in-text contextual advertisements, though they probably have many names. Here's a wiki article about them:
http://en.wikipedia.org/wiki/In-text_advertising
I don't know if Google offer these (due to how annoying they are), but I'm pretty sure AdBrite does:
http://www.adbrite.com/mb/exchange_publishers_ad_formats.php
You probably have adware installed on your computer. Some web searches point to browser addons called "Facetheme" and "Better Links".

I would like to know of a site that would be useless if JavaScript was disabled [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I am looking for a site that if I disabled JavaScript the site would be useless, and what other functions would I not be able to use. Does anyone have a name of a site that I can look at? I want to know what no longer works.
You're looking at one right now.
Not quite sure if this is really programming related... but YouTube and Google Docs for instance.
http://jsfiddle.net
Most sites that use javascript heavily become less useful rather than useless. In order to do that, many of them will implement the important parts twice - once with javascript, and a less sophisticated version without.
Despite the popularity of the question, this one doesn't even load w/o JS.
http://www.graphikdesign.it/
Google.com looses it's Instant search capability with Javascript off.

Copyright when using parts of a third-party javascript from a webpage [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When i like a certain Javascript (for menu highlighting or so) used by some website, it would be pretty easy to copy this script from that site's source-code and use it in mine.
I would consider doing so as unauthorized use of intellectual property, since I have been granted the right to use this javascript in my browser, but certainly not to copy it and use it for my own purposes, even though it is so deceptivly easy to reuse other people's work without asking for permission.
I don't know much about online-copyright law, but is my stomach feeling right in this case?
Yes. You don't have a license to use it elsewhere.

Categories

Resources