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)

4
votes
1answer
170 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 ...
0
votes
0answers
10 views

Proper way to handle an orientation rotation from a mobile device [closed]

I have separate desktop and mobile versions of my website, but now I see an issue. I tried using my site on a tablet and rotated the screen then the screen flipped and thus the width is smaller and ...
0
votes
0answers
6 views

Hello Everyone! Starting with Javascript, doesn't appear to link [migrated]

I honestly don't know what happens: this is the html: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"/> <script ...
0
votes
0answers
6 views

How to Create a sitemap in MEAN stack? [duplicate]

Well I am creating a Application in MEAN stack but I don't know how to crate a sitemap for MEAN stack
4
votes
1answer
53 views

Can I declare a duplicate page via javascript for google?

Most sources of documentation state that one can declare a webpage a duplicate of another by applying this tag on the duplicate page: <link rel="canonical" href="(absolute URL to original ...
1
vote
1answer
25 views

Identify keys bound to website buttons

After running my site through powermapper tools, they present this issue: All ONCLICK handlers should have an equivalent ONKEYPRESS handler. Section 508 1194.22 (l) WCAG 2.0 A F54 Some ...
1
vote
0answers
11 views

How can I avoid flickering when image is changed for another with MouseEvent? [migrated]

I have a clickable image (logo) that I want to be defined in HTML (not CSS). I want it to change on hover so: <img src="logo.svg" onmouseover="this.src='logo_hover.svg'" ...
2
votes
1answer
46 views

How should the back button behave when a site is built with AJAX and JavaScript?

I have made several websites and web applications, and still not sure of what the behaviour of the browser's back button should be. In some cases where AJAX and JavaScript technology is used, hitting ...
1
vote
0answers
12 views

Trouble with PHP for sending data [closed]

I am encountering a strange problem with my code.All of them are found in the same page , the php is loaded first.The php seems fine because all the data loaded correctly. My first 3 buttons are ...
14
votes
2answers
5k 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 ...
1
vote
1answer
22 views

Send pageview with Analytics.js to a second account

Using Analytics.js: <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) ...
-1
votes
1answer
35 views

How to allow selecting texts on the posts that are disabled from selecting?

Let me make clear. I added a html/javascript code on my blogger for disabling copying of contents. The code is : <script ...
2
votes
1answer
17 views

Can it be an issue to search engines if a primary image in a webpage is not declared with an image tag?

I was looking at my reports on google adsense, and on my mobile site, google reports that people see ads about 1% of the time. The stats are much more in my favor on the desktop site where the ads are ...
0
votes
0answers
13 views

JavaScript encoded links on an AngularJS framework…bad idea for Google?

I have a site where we're currently deploying code in AngularJS. As part of this, on the page we sometimes have links to 3rd party websites. Definitely Avoiding: We do not want to have followed links ...
1
vote
4answers
81 views

Will auto refresh put additional burden on my web app?

I am trying Alfresco share Community Edition. It has a discussion site where user can ask questions. The problem here is alfresco does not provide auto refresh out of the box. The user has to refresh ...
1
vote
1answer
74 views

Does a script tag really need a color defined?

I went to achecker.ca to test my website for accessibility issues. While it found no actual problems, it found about 100 potential issues. One of them is this: 1.4 Distinguishable: Make it easier ...
1
vote
0answers
24 views

How to handle AngularJS hash bounce in Google Anlaytics?

Google Analytics append string is stripped off due to angular hash (#) bounce. when you click on it this link sub.f.org/fff/sign-up/plan, the following actions occurs: a link appears in browser as ...
1
vote
0answers
7 views

how to include images,scripts that are in default folder of views in web2py

I have an image in the default folder of views as an example in the below link (http://127.0.0.1:8000/cooking_recipes/default/images/nav-logo.png) and even some scripts in the same folder.that is ...
3
votes
1answer
38 views

Structured Data Tool doesn't see JavaScript rendered content

Some structured data (namely price) of my page is rendered by JavaScript. According to fetching results in Webmaster tools Googlebot sees and renders it perfectly. However the structured data tool ...
0
votes
0answers
26 views

Legal notice that copying javascript isn't allowed

I've build a fun tool for one of our clients. This client is in a competitive business and likes to keep this tool to itself. As we all know, javascript is quite downloadable, and even ubfuscated not ...
3
votes
1answer
952 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 ...
1
vote
4answers
5k views

Website or service to view a page without Javascript [closed]

Is there any website or service that allows you to submit a URL and displays the corresponding page with Javascript stripped out/disabled? Clarification: This is to send a link to someone else to ...
4
votes
1answer
55 views

Does Googlebot trigger onclick events and index the resulting content?

I've found many topics about Googlebot following links and executing ajax queries but none that tell me whether onclick events would get triggered and results crawled. Let's say that an image is ...
0
votes
2answers
61 views

How should I access a variable after an async script is loaded?

I have a setup tag for a Tracking service called Clicky that loads asynchronously on every page. I need to access "clicky" variable from another tag, which is only accessible after setup async script ...
1
vote
2answers
150 views

How to show only disqus thread-votes and nothing else

I want to show just the thread vote portion of the whole Disqus commenting system. How would I go about doing it? Here is an example of what I am asking for: Could I possibly iframed the rating ...
2
votes
5answers
88 views

Prevent robots from indexing specific word

I need to prevent robots from indexing specific word on my webpage. Here is what I did: Let's say I need to prevent JOHN GALLOW from being indexed. For that purpose, I wrote this pararaph: Over the ...
1
vote
2answers
387 views

Does adding live chat script to a website affect its SEO?

I have a client who has added a live chat script just before his /body tag. The live chat script uses WebSockets for communication with servers. However, it appears his SEO traffic decreased by a good ...
8
votes
7answers
1k views

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these ...
2
votes
2answers
114 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 ...
3
votes
1answer
67 views

Googlebot encountering JavaScript errors due to rendering outdated HTML files with newer JS files

We recently encountered an issue where we added a JavaScript variable (e.g. var GLOBAL_VAR = true;) to an HTML page (e.g. /Search/Index) and updated the separate JS file (e.g. ...
4
votes
1answer
408 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: ...
1
vote
1answer
44 views

Angular JS website (use of pre-render.io)

Hi ProWebmasters Community, Considering a move to build a highly Angular JS website with around 3 million pages. One of the questions that is constantly coming up is to use https://prerender.io in ...
1
vote
4answers
243 views

Does Google index JavaScript generated HTML?

SO we are using click funnels, and it generates the HTML pages for you. When we looked at the HTML they provided, we realized that the HTML is generated from JavaScript. SEO is a huge concern for us. ...
0
votes
0answers
25 views

Facebook and Twitter server side API limit

Reading the Facebook and Twitter API limit usage, confuse me, does anybody know which is the real limit of requests per second for each user token and for all the users tokens summed? For example if ...
9
votes
1answer
8k views

How does CloudFlare's Rocket Loader actually work (and how can a developer ensure compatibility)?

CloudFlare has quite a ground-breaking technology called Rocket Loader (both on free and paid accounts). But how does it actually work? They have a couple of pages that describe the technology, but ...
17
votes
4answers
4k views

Does the Google spider render JavaScript?

Does the Google spider knows how to render JavaScript, or only HTML?
0
votes
0answers
11 views

Does processing content dynamically using Javascript or PHP have an effect on SEO? [duplicate]

Does it effect my Google organic search ranking whether my html content is dynamic or static? Let's say that I'm using Javascript to display html code dynamically based on some user behavior, or ...
0
votes
0answers
14 views

adsense making ip report all wrong with resubmittion page and generating random ips

I have a google ad on my website, but I just found out today, that it's resubmitting the page with a random IP, that changes from time to time, mostly when submitting a form. It happens too, but ...
0
votes
0answers
33 views

Can I move google adsense block to another div element?

In homepage of website I have 3 categories with their corresponding posts. And I have one google ad in every section. Also in homepage I have same categories as menu and when you click on one of ...
0
votes
0answers
39 views

RegEx in Google Tag Manager for Exclusions by Referer

When I set up my Google Analytics tags in GTM the standard firing rule (trigger) is RegEx page matches .* I then add exclusions to prevent GA from firing for known spam referers (and yes, I know all ...
0
votes
0answers
45 views

Why is hidden content not always indexed?

I've read several blogs discussing the 'hidden content' issue. This article experimented with several options. It concludes that Google DOES index hidden content. The issues is also discussed here. ...
3
votes
1answer
26 views

Spitting server side request into HTML to be used in JavaScript bad practice?

I am working with an API which essentially provides me with image urls that are hosted on a CDN somewhere. I can simply pass it a number and it will give me the right image and it also provides me ...
1
vote
1answer
47 views

Javascript page load time calculation returns negative

<script type="text/javascript">//<![CDATA[ // jQuery has already been loaded but this could be equivalent to // a function in <body onLoad=""> $(function(){ var ...
2
votes
1answer
53 views

Will Baidu spider understand an infinite scrolling page?

My team is looking at implementing an infinite scrolling page while maintaining good SEO. We're following Google's advice for infinite scrolling SEO from this article: ...
8
votes
1answer
97 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, ...
26
votes
2answers
2k views

Someone else is using our Google Analytics Tracking code number. What do we do?

After looking over our Analytics today, I realized that another website is also using our same tracking code #, which is cause quite a few incorrect hits to our Analytics. Are there any ways to ...
1
vote
0answers
42 views

Googlebot only seems to crawl my front page even when provided a different URL

I'm new to the webmaster world and trying to get my site SEO ready. It runs on javascript (AngularJS) and I set up all the things you'd need so that crawlers can read the site. I have the <meta ...
0
votes
1answer
27 views

Can generating static links via javascript be legal and recognized?

I have a page of photo thumbnails on my site. On the page, a large number of links are grouped together consecutively, and the links take up at least 1/2 the HTML code size. Here's an example: ...
5
votes
1answer
534 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 ...
0
votes
0answers
203 views

SEO on ui-router states of AngularJS SPA

I have a simple SPA created with AngularJS, you can see it running here: www.consami.com.br. I was using Prerender.io to load a pure HTML version for crawlers, however some pages were not indexed by ...