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
2answers
54 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 ...
0
votes
2answers
45 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 ...
4
votes
1answer
32 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 ...
4
votes
1answer
119 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 ...
3
votes
1answer
22 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. ...
2
votes
1answer
104 views

@Viewport @media use for input type?

I've searched high and low for some way to setup my HTML5/CSS3 for various devices. Going by screen resolution isn't the best route because some times the screen size of one device is the same as ...
1
vote
1answer
33 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
1answer
46 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 ...
0
votes
1answer
25 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
0answers
31 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 ...
2
votes
0answers
79 views

Cookie consent messages required on websites - how will adsense work?

I ended up watching this video: https://www.youtube.com/watch?v=H5xVSXTn41Y It states that publishers have until September 30th, 2015 to add a visible message indicating about the use of cookies on ...
2
votes
0answers
304 views

How to add Google App Script as a gadget to Google Calendar?

I created a small App Script with a small UI. Now I'd like to have it as a gadget in my Google calendar. I tried to embed a gadget with the following basic XML: <Module> <ModulePrefs ...
1
vote
0answers
41 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 ...
1
vote
0answers
36 views

404 error - page loads fine. OSCommerce - Seperate WP install on blog.

I have looked over other peoples posts but I cant find anything to fix this specific error. On my site, I have 2 CMS - one for the main site which is OS Commerce and I have Wordpress installed on the ...
1
vote
0answers
50 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
0answers
280 views

Google analytics in E-commerce iframe not tracking source

I have a ticket booking system in an iframe. I am tracking sales but the source of the sales is not being recorded. I'm trying to shed some light on why this might be. The code on the parent page is ...
1
vote
0answers
27 views

Does Google Analytics not track data accurately when reporting the same pages to multiple accounts?

I am reporting my traffic to 2 different Google Analytics accounts. Using Universal Analytics, I am doing something like: ga('create', 'UA-XXXX', 'auto'); ga('send', 'pageview'); ga('create', ...
1
vote
0answers
7k views

Line Feed or Carriage Return - What to use?

In javascript, Line Feed and Carriage Return behaves similarly. Which one to use and when? OR Can it be used alternatively? Unicode Characters: Line Feed: \u000A Carriage Return: \u000D ...
0
votes
0answers
15 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 ...
0
votes
0answers
9 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
24 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
21 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
42 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. ...
0
votes
0answers
90 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 ...
0
votes
0answers
23 views

How should I render a widget with many links inside a blog so google don't penalize the blog?

We run a service (will not mention the URL, as this is not a pitch) and need advice on Google-viewing-links matters. The service is for bloggers and allows them to create a "linkup" inside their blog ...
0
votes
0answers
28 views

What kind of attack causes a JavaScript 'out of memory' on the attackers device?

We experienced a strange attack yesterday. Our error log picked up the same 'out of memory' JavaScript error from a single IP address every 10 seconds. The requests came from 6 client ports on the ...
0
votes
0answers
82 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 ...