JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages. Use this tag for questions regarding ECMAScript and its dialects/ implementations: JavaScript, JScript, etc., excluding ActionScript.

learn more… | top users | synonyms (2)

2
votes
0answers
24 views

Does Bing execute Javascript when crawling and indexing web pages (like Google)?

Some content on some web pages is only displayed with Javascript when a button is clicked (for example). We know that Google executes Javascript and is (very likely) to find this content, but what ...
0
votes
0answers
2 views

ng-click function not working [migrated]

I'm having an issue with my JavaScript with the ng-click function not working. Below is my code: $scope.gridOptions.columnDefs = [ { name: 'District Name' }, { ...
1
vote
1answer
54 views

For how long does the google bot wait after document ready before taking a snapshot of the webpage?

As the google bot lets the JS do its work on the page while crawling, for how long does it wait to let the javascript execute after document ready ? Suppose I have an AJAX response that takes longer ...
2
votes
1answer
41 views

Does e.preventDefault on link prevent the page from being crawled?

I have a couple of links in navigation on homepage that lead to new pages. When clicked on link, i want to prevent going on that page (e.preventDefault()), and instead load that page in popup with ...
1
vote
0answers
24 views

regular expression to match numbers separated by commas [closed]

I want to build regular expression to match this pattern 1, 2, 3, 4, 5, 16 The answer I came up with is (\d+,\s)+ but that would not allow me to have a space at the end of the string. I don't want ...
2
votes
1answer
76 views

How to inform Crawler on AngularJS permanently moved page without losing SEO ranking

I am using Angular JS app and serving snapshots for crawlers when they visit. Changes are inevitable and hence certain pages are to be moved permanently (Redirect 301). For example: ...
4
votes
3answers
114 views

For webpages using jQuery, will the Googlebot index them on “page load” or after the “page ready” state?

Will the Googlebot index a webpage on "page load" or after the "page ready" state. The reason I'm asking is because I'm trying to change my h1 and h2 tags using jQuery on page Load.
1
vote
1answer
46 views

Suspicious script loads ONLY when navigating to site via search engines

I cannot find anywhere on our site where this code is referenced. More importantly it does not appear when navigating directly to our URL, it only appears when coming from a search engine (including ...
4
votes
3answers
160 views

How do I prevent Google from indexing text that is generated by JavaScript?

Google is executing the JavaScript on my password creator website and indexing the random passwords that get generated by the JavaScript. The random text that is generated could look spammy to ...
1
vote
1answer
76 views

Not downloading a file if download URL uses different localhost port

I have a text file and want to download it. I am working in localhost. The HTML page from which I am downloading file, is called from localhost:8080. And the file which I want to download, I am ...
0
votes
3answers
73 views

Does Google Search Indexes Javascript-generated HTML?

SO we are using clickfunnels, and it generates the HTML pages for you, but when we look at the HTML they provided, we realize that the HTML is generated from javascript through their site. SEO is a ...
1
vote
0answers
42 views

How to avoid html tags in google search summary

I am using ckeditor to let people describe their organization with all the styles and fonts. So when it saves in the database its like < gets saved as &gt and rest all you know for the html ...
1
vote
1answer
79 views

MySQL and SQL inserting data into JavaScript variable! [closed]

I have a javascript file that has the variable named locations, with some data in quotes for example, 'name', '123 lane', and etc. I want the variable to get data from a database and not the plain ...
2
votes
1answer
34 views

adsense RPM is frozen upon advanced screen detection. Why?

This is unusual. This code causes me to receive pennies per RPM for my website: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins ...
1
vote
0answers
23 views

What do I need to do to make my site compatible with Safari's iCloud Keychain so that it saves passwords?

I've noticed that a vendor's web application triggers Safari's "suggested password" feature at "create password" forms, but does not actually save this password when the form is submitted. That is, ...
0
votes
0answers
38 views

Framekiller and google rankings

This is the javacript code that I use to prevent clickjacking in my current project. <style id="antiClickjack">body{display:none !important;}</style> <script ...
4
votes
1answer
98 views

If I dynamically add a robots meta tag (via JS) will Google and other search engines recognize it?

I want to have a chunk of JS in the middle of my page insert a meta-robots element into the <head> based on some arbitrary condition. Will Google and other search engines recognize this tag the ...
2
votes
3answers
113 views

How do I enable compression to reduce the file transfer size on GoDaddy?

I have hosted one of my website on godaddy.com. How do I enable compression to reduce the file transfer size? I need to compress the .css and .js files. I tried the following but it doesn't work : ...
3
votes
2answers
233 views

Is it cheating to serve different versions of the same content to users and crawlers?

I have a "smart" template for my website. For human users, the server renders the page content on the initial hit, but subsequent pages are loaded like an SPA. For a crawler, every page is rendered at ...
0
votes
1answer
58 views

How to configure Mathjax in Mediawiki?

I want to render latex on a mediawiki installation that I don't have shell access to. I've tried and failed to use the Math installation, so I'd like to include the equivalent of these two scripts in ...
2
votes
1answer
82 views

Will asynchronous JavaScript affect SEO?

As page load time affects SEO ranking. In my site I am having some asynchronous JavaScript like AddThis, Google Translator which makes my page load time longer. I want to know whether is there any ...
0
votes
0answers
7 views

JavaScript, D3 and SEO [duplicate]

I have an unusual website with unique content that gets updated once a month : www.inmobogota.com.co The bulk of the content is visualized in an interactive way through the D3 library of JavaScript. ...
0
votes
1answer
37 views

Circular Progress Button – different times for different buttons [closed]

I'm trying integrate these awesome circular buttons with my form. Everything works but I have one problem: I wanna different status time for each button. Here is an example: ...
1
vote
1answer
70 views

Why would the Better Wordpress Minify plugin cause alignment issues when activated?

I just installed the Better Wordpress Minify plugin to speed up a Wordpress site. The plugin is causing a couple very small alignment issues, but I can't seem to get the plugin settings adjusted to ...
4
votes
1answer
112 views

How to hide a JavaScript popup for Googlebot?

I want to display a JavaScript popup when visitors access my website, however I believe Google will decrease my rankings when they detect a popup. So, is there any way to hide a JavaScript popup for ...
1
vote
1answer
54 views

How to properly specify font size and face in a classified Ads HTML template?

How to properly specify font size and face in a classified Ads HTML template without html, body and head tags (these tags will be cutted), when template will be put in iframe on page? The classifieds ...
0
votes
0answers
8 views

Move a full website from one adress to another [duplicate]

I want to move all file and link for example www.website.comt/1.html to www.website2.com/2.html Can you give me some link/info for guiding me
1
vote
1answer
77 views

Blogger's embedded CSS and JavaScript

I'm trying to host a blog on Blogger with a custom domain. It's all good except the annoyance of many workplaces blocking the Blogger website using web-filters, including mine. This is causing the ...
2
votes
1answer
329 views

Can I reposition AdSense ads with Javascript (for responsive purposes)?

I have a responsive blog where ads are displayed in the sidebar. On mobile devices however, the sidebar is pushed to the bottom below the posts. So what I'd like to do is move the ads from the ...
2
votes
2answers
140 views

Is it possible for a script tag to be perceived as an inbound link for SEO?

My company has <script> tags on a lot of sites, some of these sites have very high page ranks. Right now the <script> tags have a src of Microsoft's blob data. We want to move away from ...
0
votes
0answers
198 views

How to prevent TYNT from inserting Iframes into my site [closed]

I have a wordpress site and since two days ago an iframe is showing up above the </body> tag. The iframes are not always the same and they wont show up everytime, they show up like 90% of the ...
1
vote
0answers
52 views

Do web crawlers have local storage?

The title basically says it all, but the reason for my question is this... I make a few checks before I load in any ads, and one of these checks is to see if the browser has local storage as my ...
0
votes
1answer
32 views

What is the name of this type of website? [closed]

I'm not sure what stack exchange site I am supposed to ask this question in, but I will ask it here anyways. This site has a particular style that I want to create on my own using HTML5, CSS3 and ...
0
votes
1answer
94 views

WebSocket and SEO [duplicate]

I have a client who wants to create a real state web but with only 1 page and everything should be done dynamically, preferably using websockets. Technically speaking it's possible, but my question ...
1
vote
2answers
82 views

Will AggregateRating markup that is generated dynamically by client side JavaScript show stars on Google search?

Google show stars in Google search with JavaScript dynamically generated rich snippets? I'm thinking about starting a widget that my users will put in their website. My widget will generate rich ...
0
votes
2answers
69 views

Display content using JavaScript only to Google bots

My company sells a Q&A solution for e-commerce sites. They basically have a button on their product pages that opens an iframe containing a forum with questions and answers. We would like the ...
1
vote
1answer
147 views

How to make content displayed in and iFrame crawlable?

My company sells a solution for doing Q&A for products on e-commerce websites. The client must add a div containing a link and some JavaScript on their pages, when the link is clicked, it opens ...
2
votes
1answer
48 views

Disqus “unable to load” during Google “fetch and render”

If you look carefully at the below image you can see the message "We were unable to load Disqus" ... Does anyone know how to fix this?
3
votes
2answers
99 views

How can I get Google to index content that is written into the page with JavaScript?

I have a website that focuses on charts and graphs. The graphs on the site are drawn using JavaScript, but contain keywords that I would like to have indexed. For example, here is a screenshot of ...
2
votes
1answer
6k views

Forbidden 403 for js file on localhost?

apologies if this isn't the right place to post this. I posted it on Stack Overflow and a user suggested I put it here. Anyway, I've looked all over google and the site and none of the solutions I've ...
3
votes
1answer
42 views

What are the effects on loading times when conditionally loading and concatenating scripts?

Suppose you have a script in your theme that you always need on every page - say 'animate-menu.js' (10KB) - and you have one that you only need on one specific page - say 'validate-contactform.js' ...
0
votes
1answer
18 views

Staying notified of when there are updates to vendor scripts

I own a web app that uses various vendor scripts (both javascript and CSS). Basically all of them have their repository on GitHub. Every few months, I look to see which version of each vendor script ...
0
votes
2answers
56 views

no index no follow after page load

I have a component which makes a promotion "expire" after a certain date, when it expires I want to add a NO FOLLOW NO INDEX meta tag via JS. The question is would Google stop indexing this page as ...
3
votes
2answers
78 views

Troubleshooting websites on gaming consoles

I realize that questions like "suggest a tool" are usually not allowed, but I would like to pick your brains for a good way to troubleshoot websites on gaming consoles (PS3/4 , Xbox360/One and ...
1
vote
3answers
159 views

InstantClick effect on SEO?

InstantClick.io is a pretty awesome JS library that makes a website feel a lot faster (in most cases) by prefetching links when a user is hovering above them. This will cut off at least about 100ms ...
1
vote
1answer
776 views

Caching of JS and CSS files – Apache mod_headers doesn’t take effect

As suggested by an answer on SO, I'm trying using a version number on my JS and CSS files so that the browser will only make a request when the JS or CSS version number is changed in my PHP file. To ...
10
votes
2answers
483 views

Google indexing pages with #! although we don't have any

Our company has developed a Single Page Application using AngularJS and its routing. Google indexed our site decently with JavaScript but it did not index some pages very well so we have developed an ...
1
vote
2answers
62 views

Joining and compressing all javascript files together - good idea?

Curently, I avoid loading any unnecesary scripts on individual pages of my site. I have a class that remembers all javascript files that were requested during PHP processing and adds them to HTML. I ...
8
votes
2answers
1k views

Anyone still using JavaScript disabled? [duplicate]

Is there anyone left that's not using JavaScript? When designing websites, is it worth to care about that fraction of visitors? At least in Firefox you can't even disable it anymore.
1
vote
1answer
124 views

Make my website dynamically loaded data available to Facebook Open Graph Object Scrapper

Here is the design of my web site: The user enter myWebsite.com/a/1 .htaccess rules redirect to myWebsite.com/b Now the JavaScript ExtJS library is loading. Extracting the value from the URL (in ...