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
9 views

Block inline scripts from executing?

I need to test a page with no scripts running/executing. I've tried NoScript and uBlock but they seem to only stop externally linked scripts from being executed, not those in ... tags. Any ...
0
votes
3answers
33 views

The webpage is in JS but still text browsers are reading the content. How is it? [on hold]

I was checking the site giftedandtalented.com. first of all the the source code is so cluttered. When i disabled the JS in my browser, except for top navigation nothing showed up but when i checked ...
0
votes
0answers
9 views

Show picture when hovering over DropDownList items ASP.NET [on hold]

I am currently learning ASP.NET, and I would like to associate a picture with every item from an asp:DropDownList. I am using C# as the programming language, and an ASP.NET WebForm. Example of what I ...
0
votes
0answers
5 views

Investor Relations Website Standards/Laws [closed]

I am working with a client who is listed and traded on NASDAQ. They are looking to have their investor relations (IR) portal rebuilt so that it is managed within their new website (WordPress). Their ...
3
votes
1answer
17 views

How to tell if an incoming connection is a cellular network or not

I've got a page that will be loading a bunch of fairly high resolution images, as well as a full HD video. Is there a way to detect if someone is using cellular on their phone vs wifi, so I can use a ...
4
votes
3answers
41 views

Embed Google Analytics Reports On Website

I want to embed Google Analytics charts into my website so that from the admin console I can view certain analytics charts without needing to log into the Analytics console. I have come across the ...
0
votes
0answers
7 views

@media queries and regular css interactions [migrated]

I have a page with a side panel that has a position:fixed on my page. In the css, the following @media query to hide the panel if the screen width is below 1580px (which is most screens). @media ...
0
votes
0answers
16 views

Google Analytics events being sent before pageview. Getting “Bad Event Tracking Code” warning

I just noticed an alert from Google Analytics saying: "Bad Event Tracking Code: (not set) entry present in reports..." After doing a ton of research on this, it seems that some of my events are being ...
1
vote
1answer
31 views

Google Tag Manager and Data Layer under the hood

I am really newbie in all this marketing stuff, so I understand everything much better on the software layer. Phrases like : "Add this script to your page directly after body tag and it will work" ...
3
votes
1answer
62 views

restricting Google Maps js API keys to just my domain

My site uses the Google Maps javascript API, so I'm using a "Browser key", which is plainly visible in my javascript to anyone who does "View Source". Google's documentation on Browser keys in ...
0
votes
0answers
25 views

Blogger Refused to execute script from because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled

Hi I have a blogger site with custom domain and the javascript code don't work with the custom domain. When I use the blogspot.com domain then the javascript code works but when I change it to custom ...
4
votes
3answers
62 views

Lazy loading images (with data URI) and effects on SEO

I've seen this question: Lazy loading images and effects on SEO My question is very similar, except that I am using data-uri images like so: <img width="1100" height="340" class="img-responsive ...
1
vote
1answer
12 views

Is noscript mandatory for worldwide compliance page compliance?

I tested a random page of mine with javascript on achecker.ca four times: once using the "Stanca Act" guideline in the scanning options, once using the "Section 508" guideline, once using the "WCAG 1....
4
votes
1answer
51 views

Can I randomly change the page title for users while showing search engines a static title?

Let's say I wanted to make a website or series of pages where the title (or at least what appears on your browser's tab) alternates randomly each time it's loaded - just for giggles. I have a bank of ...
0
votes
0answers
13 views

It's 2016. How much JavaScript does Google understand? [duplicate]

Google deprecated its AJAX crawling scheme which seems to suggest that it can now index JavaScript applications. People now start testing the limits of what the bot can do with JavaScript, with ...
0
votes
2answers
12 views

Discrepancy beween Google Analytics and Adword Data

We are facing an issue with data discrepancy between what is reported by adwords and analytics console of google. Wanted to check if someone else has faced a similar issue and what could be potential ...
0
votes
2answers
29 views

Image generation from spreadsheet data

I work in retail. For promo sales we're given a spreadsheet with data containing the information about the product and its prices. With this data we're supposed to create sale tags. More specifically, ...
3
votes
1answer
33 views

Why does loading of an external “async defer” javascript code happen before page load?

Recaptcha recommends loading of its script like this: <script src="https://www.google.com/recaptcha/api.js" async defer></script> I added this to the head section of the html document ...
2
votes
1answer
24 views

Is it possible to change from domains to phrases in the URL bar?

You can change a URL like google.com to google.com/test without reloading the page by JavaScript. Is it possible to completely change the URL like from google.com to Welcom.To.The.Website using the ...
3
votes
0answers
45 views

Blocking the ISP's ads appearing after a possible DNS grab and redirect via port 53? [closed]

Whenever I switch on my modem and try to connect to the internet, my ISP redirects me to their website. I'm assuming they are grabbing DNS requests and redirecting them using port 53. A video of it ...
2
votes
1answer
28 views

Adsense ads don't appear even if account approved

I have a website that runs on Apache2 and has code in PHP and JS + HTML. Link to site: http://goldfaucet.xyz This is the code of my ad unit: I have an approved Adsense account that already was ...
0
votes
0answers
7 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
1
vote
1answer
31 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) ...
0
votes
0answers
16 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 ...
2
votes
1answer
19 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 ...
1
vote
0answers
10 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 ...
0
votes
2answers
38 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 obfuscated not ...
2
votes
1answer
38 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
45 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 ...
4
votes
1answer
79 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 ...
3
votes
1answer
57 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 ...
2
votes
5answers
91 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 ...
3
votes
1answer
111 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. /Scripts/search/index.js)...
1
vote
1answer
59 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 ...
2
votes
1answer
60 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 ...
0
votes
0answers
28 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 ...
1
vote
1answer
120 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
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
2answers
57 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 src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></...
0
votes
0answers
46 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 ...
6
votes
2answers
79 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 page)"&...
0
votes
0answers
54 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 ...
1
vote
1answer
53 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
29 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
87 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 iNavStart=performance....
2
votes
1answer
59 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: http://googlewebmastercentral....
2
votes
1answer
46 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
32 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: <...
0
votes
0answers
304 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 ...