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)

0
votes
0answers
5 views

JS sidebar like the pyton’s documentation one [on hold]

I’d like to make a side bar like the python’s documentation one. So I tried to explore the js code of the python’s site but I can’t use it. I haven’t any documentation to know how to use it. There ...
2
votes
1answer
18 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 ...
0
votes
1answer
29 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
0
votes
0answers
2 views

Javascript slideDown [migrated]

On my mega menu style navigation it currently slides down/up, but I want it to just appear so it seems quicker. Below is the code, hopefully the right bit as I'm useless at javascript! Thanks :) if ...
1
vote
1answer
38 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
98 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
76 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
56 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
37 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
29 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
36 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
0answers
31 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
53 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
52 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 ...
1
vote
1answer
30 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
61 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
559 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
29 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
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
30 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
89 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
125 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
433 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
58 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
870 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
77 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 ...
1
vote
2answers
74 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
1answer
28 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 ...
1
vote
2answers
64 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 ...
1
vote
1answer
35 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
3answers
87 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 ...
1
vote
2answers
142 views

Redirect to an affiliate using PHP or JavaScript redirect?

I was asked to introduce a unified self hosted URL-Shortener/Forwarder/Tracking Service for an website that earns money from affiliates. One example I found was one of the bigger german sites for ...
1
vote
2answers
224 views

403 Error Fetching Image with JS

I've read all the 403-related questions here and elsewhere and I can't find an answer to this question: When I try to get a particular image on a remote domain via JavaScript I get a 403 error. But ...
0
votes
1answer
90 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
35 views

Does Googlebot share geo-location information to better crawl geo-aware websites?

I'm developing a website that allows users to share their location via JavaScript. Based on that location, either the content of the current page will change, or it will redirect a user to a page with ...
1
vote
2answers
36 views

Global UTF-encoding, the right way

I'm curious, as to what is the right way to have UTF-8 encoding on all web files All my files (incl. CSS and JS) are made and saved in UTF-8 encoding In PHP, I set the char-set on top of the main ...
2
votes
0answers
24 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
2
votes
3answers
212 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
0answers
80 views

What could keep a javascript from loading properly on a page? [closed]

We have a vendor that switched our files over to a new server. We had a carousel on our homepage that was using javascript saved on the vendor server. After the move the carousel javascript won't ...
2
votes
1answer
256 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 ...
12
votes
3answers
2k 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 ...
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
53 views

How does licensing affect my website?

I like to use prebuilt CSS/JS such as Foundation and PureCSS and I'm curious as to how I should go about displaying the licensing information, as well as how the license will affect the code that I ...
1
vote
0answers
32 views

How to clean PmWiki from JS:Includer-AWG and protect my site from future infections?

I'm hosting a site for an NGO for several years now. The site seems to be based on a PmWiki backend. I don't know much details because I'm just hosting the site and I'm not the guy who set it up. I ...
1
vote
1answer
109 views

How should I upload videos to Amazon S3?

I have a project which is basically a website like YouTube. I am hosting my videos with Amazon S3. I am confused as to whether I should upload videos (200mb+) by a PHP script or by browser-based ...
0
votes
1answer
141 views

How to add custom CSS for Addthis and validate on W3C validator?

I have Addthis code on the very bottom of the page HTML code, and then, after it I have CSS file with some custom decorations of Addthis widget. Everything looks like this: <script ...
0
votes
2answers
55 views

Dynamically load CSS

I'm using LESS for creating CSS and I'm considering using something like grunt-render on the server side in order to only load the CSS / JS that is needed for that page. My goal is to reduce overhead ...
1
vote
0answers
20 views

line monitoring of phonograms (songs) of radio [closed]

I need to create a monitoring system of phonograms (songs) of radio and television online through streaming so on, but my team and know the way to develop this monitoring system, I know there ...