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

Make the reset button not affect a dropdown (MixItUp) [on hold]

I’m looking for a filter with checkboxes (with the "and logic"), a search bar and a dropdown. Just like in this CodePen: http://codepen.io/anon/pen/yJgQWB Although I need the dropdown not to reset on ...
1
vote
1answer
8 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....
1
vote
1answer
25 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 ...
5
votes
3answers
3k views

expires headers and forcing cache-loading instead of 304?

so here is a little mystery. google analytics javascript somehow always loads from browser cache on F5 (in Firefox). i cannot get the same thing to happen with my own scripts. here are the headers ...
4
votes
1answer
36 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
2answers
55 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
11 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 ...
1
vote
1answer
27 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 ...
3
votes
0answers
41 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 ...
0
votes
0answers
20 views

Malicious Code is removed but [closed]

i opened up the Google Web Master tool, And I found my website is containing malicious code. And then I search over the internet and i found a website scanner online from here : Link Scanner. From ...
0
votes
0answers
10 views

Shorten a long string without cutting the final word [closed]

I want to shorten a long string to certain length without cutting the final word in half and add custom string such as 3 dots to the end. how can i do it.?
6
votes
2answers
72 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
2answers
25 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, ...
1
vote
4answers
102 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
97 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
2 views

Save, load and print input values using local storage? [migrated]

I'm trying to store via local storage all form field values (under the input id) like so localStorage.setItem("input id", fieldvalue); when a user clicks then "save" button. After save input value is ...
3
votes
1answer
27 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 ...
4
votes
1answer
182 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 ...
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 ...
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
2
votes
1answer
59 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 ...
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
29 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) ...
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 ...
0
votes
0answers
15 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
0answers
39 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
8 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
45 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
27 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
1k 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
4answers
6k 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
68 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
79 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
151 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
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 ...
1
vote
2answers
403 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
127 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
95 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)...
4
votes
1answer
448 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: www.domain.com/#!...
1
vote
1answer
54 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
274 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
27 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 ...
11
votes
1answer
9k 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
40 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 ...