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)

1
vote
1answer
11 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
67 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 ...
0
votes
0answers
7 views

Logical Process behind Social Login [on hold]

OK, so I have built a social login system to tie into a website I am currently working on. I think I have covered all the logic possible, but wanted to get the advice of other techies. So far my ...
2
votes
1answer
215 views

Why is my Custom HTML tag not fired in Google Tag Manager

I have a Custom HTML tag in Google Tag Manager that is actually very simple. It consists of the following code (a GTM Macro): {{html generator}} This tag is only fired on the Thank-you page on my ...
2
votes
2answers
45 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
18 views

i have a problem with understanding how the script works [closed]

What's up guys I'm a new Website Developer and I'm creating a learning website that contains Tutorials. An example of the tutorials I do have problems on how I can Managed to Record the Text Step by ...
1
vote
1answer
209 views

No cache and Google AdSense performance

I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header: <?php header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); ...
5
votes
1answer
434 views

Google Analytics cookie across SagePay checkout

We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions. In Google Analytics, under the ...
0
votes
0answers
44 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
33 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
0answers
2 views

IE 9 - Script Error :: Unable to get property 'replace' of undefined or null reference [migrated]

I'm getting this script error in Internet Explorer 9: "Unable to get property 'replace' of undefined or null reference" for the code lines below. I have tried to replace .html for .children but no ...
29
votes
1answer
145k views

How to open the JavaScript console in different browsers?

Updated on October 7th 2012 Chrome: Press CTRL + SHIFT + J to open the "Console" tab of the Developer Tools (CMD + SHIFT + J on Macs). Alternative method: Press either CTRL + SHIFT + I or ...
1
vote
0answers
28 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
1answer
190 views

Uploading a file automatically for speed test?

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how speed test works. A file is downloaded for a limited time ...
0
votes
1answer
26 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 ...
3
votes
1answer
370 views

Google follows JavaScript string as relative path - produces 404 error

This is my first question on here so I hope I'm not breaking any rules, but I have a problem: I have a site that uses an Adobe Site Catalyst for its online analytics. The suite supports tagging ...
11
votes
5answers
10k views

Chrome refused to execute this JavaScript file

In the head of my HTML page, I have: <script src="https://raw.github.com/cloudhead/less.js/master/dist/less-1.3.3.js"></script> When I load the page in my browser (Google Chrome v ...
1
vote
1answer
27 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?
0
votes
0answers
2 views

Node.js webserver; Show contents of pgp asc file, not prompt for download [migrated]

If you click this link: http://kenCode.de/kenCode.asc Your browser tries to download the file instead of displaying the textual contents of it for api's and sites that need to just read it. Mime ...
12
votes
3answers
1k views

Lazy loading images and effects on SEO

We are using the following technique to lazy load images in our site: For all images we put in the src attribute a url for a default img (i.e. a loader) and put the actual image url in the data-src ...
13
votes
1answer
4k views

Is this a good approach to image Lazy Loading for SEO?

For images loaded via AJAX, or that I don't want indexed, use the data-* attribute approach: <img data-src="path/to/image.jpg" class="js-lazy-load" /> The javascript maps the data-src ...
0
votes
1answer
27 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 ...
12
votes
8answers
3k views

Is inline JavaScript good or bad?

I've currently switched from WordPress to Yii framework and an external developer is rebuilding my site. One thing I notice is that each time he invokes AJAX / jQuery the Yii way, it embeds inserts ...
1
vote
1answer
66 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 ...
0
votes
2answers
49 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 ...
3
votes
2answers
54 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 ...
1
vote
1answer
42 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 ...
3
votes
1answer
25 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' ...
2
votes
1answer
154 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 ...
0
votes
1answer
15 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
29 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
72 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 ...
0
votes
3answers
79 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
97 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 ...
0
votes
3answers
125 views

Do search engines care about case sensitivity of HTML tags and JavaScript functions?

Which is better for SEO ? HTML <p id="hello"></p> <p id="HELLO"></p> <p id="Hello"></p> <p id="hELLO"></p> JAVASCRIPT function hello(){} ...
10
votes
2answers
428 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
56 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
853 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
2answers
62 views

SEO for dynamically inserted content?

I've reviewed other questions and answers, but none fit my use case. Frankly, I'm not even sure if I'm asking the right question. Here's my scenario: I work for an organization that is in the process ...
1
vote
2answers
58 views

Does the JavaScript that Google Analytics Experiments adds slow down alternate versions, and how could I measure this?

I am using Content Experiments in Google Analytics to test three different landing pages. This uses JavaScript on the initial page to load the alternates. Would the additional JavaScript add to the ...
2
votes
3answers
205 views

Is doing A/B tests using site redirection a bad practice?

I'm developing hotels websites here in Brazil. When the site is done, we do an A/B test with the old version to measure conversion and show to the hotel owner how good our site is. Due to the fact ...
1
vote
2answers
160 views

Here we go again - quest for web hosted forum via javascript [closed]

disclaimer If this is the wrong location for this question, then please advise me accordingly. backgound I've been using Disqus and intense debate as a 'comments' service for a variety of my ...
23
votes
6answers
16k views

How do you exclude yourself from Google Analytics on your website using cookies?

I'm trying to set up an exclusion filter with a browser cookie, so that my own visits to my don't show up in my Google Analytics. I tried 3 different methods and none of them have worked so far. I ...
1
vote
1answer
22 views

How does dynamic content replacement affect PPC quality score?

I'm looking to write a script that dynamically replaces elements of my page with content related to the keyword that resulted in a PPC click. For example, visiting the landing page after searching on ...
0
votes
1answer
83 views

Implications of SEO for single page websites

I built a server application that handles bot requests for my website, which was built using AngularJS. It works great, but I'm not entirely sure if it's valid in terms of Google's policy for SEO. ...
1
vote
1answer
33 views

Google pre-rendering causing double and triple events [duplicate]

Is it possible to detect google chrome and firefox prerendering on the server side, or in .htaccess, and defer the prerendering for the purpose of monitoring traffic and website events, or do I need ...
0
votes
2answers
86 views

Cannot add DataTables.net javascript into Joomla 1.5

I've been having this problem where i couldn't add Datatables.net javascript into my Joomla article. I have been trying to include it through Jumi. To say that my editor strips of the tag is ...
1
vote
2answers
3k views

What service could be adding NewRelic?

At the bottom of my web pages is: <script type="text/javascript"> if (!NREUMQ.f) {NREUMQ.f=function() {NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script"); ...
0
votes
3answers
77 views

How to SEO optimise Ajax/Json loaded images?

I am using Galleria.io on a website to display a gallery of images. In the database, the images have a title and description to properly explain what the image is. I load the images into galleria ...
3
votes
3answers
219 views

How to redirect keeping the referral without server-side redirects?

I have an HTML page hosted in Dropbox that some external websites link to. I want to redirect to a different page using only HTML or Javascript, since I can't use any server-side redirects. My goal ...