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
1answer
29 views

What technologies do i need to learn to make a blog? [on hold]

I am making my first website which will be my personal blog. My main purpose to make this is to learn website development. I know a fair amount of HTML, CSS and JavaScript. I understand these are all ...
0
votes
0answers
12 views

Udacity vs Udemy online courses for learning web development [on hold]

Note: I was unsure whether to ask this question on this site (Webmasters) or on the Academia site. Just let me know if it needs to be moved. Currently I'm planning on creating a personal webpage but ...
0
votes
0answers
8 views

Customizing a video player when embedding it on other sites [closed]

I am an iOS developer with zero web development experience so I apologize in advance if this is a noob question. I need people to embed my videos onto their own sites. I would like to use JWPlayer as ...
0
votes
0answers
16 views

Anyway to preset an audio sound to half volume? [closed]

I know how to do it when it autoplays but it seems there's no way to do it by preloading the volume level while it doesn't autoplay. I looked in mozilla's website and it seems that browsers don't ...
0
votes
0answers
10 views

Does jQuery affect Google Search Ranking? [duplicate]

I'm using jQuery for some adjustments like setting the padding and height of some elements on the page. I'm also displaying a white screen before the content loads (the white screen is displayed ...
4
votes
1answer
369 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
16 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 ...
2
votes
1answer
107 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: ...
2
votes
1answer
71 views

Does Bing execute Javascript when crawling and indexing web pages (like Google)?

Some content on some web pages is only displayed with Javascript when a button is clicked (for example). We know that Google executes Javascript and is (very likely) to find this content, but what ...
0
votes
1answer
98 views

How to trace origin of script injected in my webpage

I was looking through a static site I created on my local server, in my web browser, and found a curious call to an external script <script ...
1
vote
1answer
85 views

JS call gives me a text value instead of an HTML link for Microdata property

I am trying to extract the book URL from a link using Microdata. The format is specified in Schema.org. Here is my HTML: <div class="col-sm-4 col-md-3" itemscope ...
1
vote
2answers
33 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
2answers
38 views

Embed Facebook Page Plugin

I've been following facebook instructions in order to embed their "page plugin" in my website, and failing. (See instructions here.) Would you please take a look at my code and help me out? thanks in ...
0
votes
1answer
22 views

Is it possible to change a page given its URL?

I have an HTML page. There is a link to another page. When I load this other page, it has a header which I do not want to appear. I do not have access to edit the source code for the existing HTML. ...
2
votes
1answer
342 views

A JS-based WYSIWYG HTML editor with flexible image upload? [closed]

Is there a good JS-based WYSIWYG HTML editor with flexible image upload out there? Ideally, I'd like an editor that allows me to handle image upload in a custom callback.
1
vote
1answer
71 views

For how long does the google bot wait after document ready before taking a snapshot of the webpage?

As the google bot lets the JS do its work on the page while crawling, for how long does it wait to let the javascript execute after document ready ? Suppose I have an AJAX response that takes longer ...
2
votes
1answer
48 views

Does e.preventDefault on link prevent the page from being crawled?

I have a couple of links in navigation on homepage that lead to new pages. When clicked on link, i want to prevent going on that page (e.preventDefault()), and instead load that page in popup with ...
1
vote
0answers
29 views

regular expression to match numbers separated by commas [closed]

I want to build regular expression to match this pattern 1, 2, 3, 4, 5, 16 The answer I came up with is (\d+,\s)+ but that would not allow me to have a space at the end of the string. I don't want ...
5
votes
3answers
124 views

For webpages using jQuery, will the Googlebot index them on “page load” or after the “page ready” state?

Will the Googlebot index a webpage on "page load" or after the "page ready" state. The reason I'm asking is because I'm trying to change my h1 and h2 tags using jQuery on page Load.
4
votes
3answers
179 views

How do I prevent Google from indexing text that is generated by JavaScript?

Google is executing the JavaScript on my password creator website and indexing the random passwords that get generated by the JavaScript. The random text that is generated could look spammy to ...
1
vote
1answer
54 views

Suspicious script loads ONLY when navigating to site via search engines

I cannot find anywhere on our site where this code is referenced. More importantly it does not appear when navigating directly to our URL, it only appears when coming from a search engine (including ...
5
votes
3answers
306 views

Best approach to have Google index content primarily generated by Javascript

I'm developing an app where customers can drop in a Javascript tag onto their website, and it will generate content. What is the best approach to have Google index this content and associate it with ...
1
vote
2answers
99 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 ...
1
vote
1answer
134 views

Not downloading a file if download URL uses different localhost port

I have a text file and want to download it. I am working in localhost. The HTML page from which I am downloading file, is called from localhost:8080. And the file which I want to download, I am ...
0
votes
3answers
81 views

Does Google Search Indexes Javascript-generated HTML?

SO we are using clickfunnels, and it generates the HTML pages for you, but when we look at the HTML they provided, we realize that the HTML is generated from javascript through their site. SEO is a ...
1
vote
0answers
45 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 ...
1
vote
1answer
122 views

MySQL and SQL inserting data into JavaScript variable! [closed]

I have a javascript file that has the variable named locations, with some data in quotes for example, 'name', '123 lane', and etc. I want the variable to get data from a database and not the plain ...
2
votes
1answer
37 views

adsense RPM is frozen upon advanced screen detection. Why?

This is unusual. This code causes me to receive pennies per RPM for my website: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins ...
0
votes
2answers
1k views

Can I defer loading Modernizr?

I'm using an HTML5 template that makes thorough use of the semantic tags and includes Modernizr up top to do the necessary IE coaxing. Google PageSpeed is complaining about the blocking JavaScript and ...
2
votes
1answer
33 views

Google Experiments - can you run across the entire site?

Is it possible to run a Google Experiment A/B test across an entire website, rather than just a single page and a variation?
4
votes
1answer
118 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 ...
1
vote
0answers
24 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, ...
0
votes
0answers
46 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 ...
4
votes
1answer
118 views

If I dynamically add a robots meta tag (via JS) will Google and other search engines recognize it?

I want to have a chunk of JS in the middle of my page insert a meta-robots element into the <head> based on some arbitrary condition. Will Google and other search engines recognize this tag the ...
35
votes
2answers
188k views

How to open the JavaScript console in different browsers?

Web browsers provide a JavaScript console as part of their developer tools. This console is useful for the following reasons: Errors and warnings that occur on a web page are logged into the console ...
2
votes
3answers
124 views

How do I enable compression to reduce the file transfer size on GoDaddy?

I have hosted one of my website on godaddy.com. How do I enable compression to reduce the file transfer size? I need to compress the .css and .js files. I tried the following but it doesn't work : ...
3
votes
2answers
241 views

Is it cheating to serve different versions of the same content to users and crawlers?

I have a "smart" template for my website. For human users, the server renders the page content on the initial hit, but subsequent pages are loaded like an SPA. For a crawler, every page is rendered at ...
0
votes
1answer
68 views

How to configure Mathjax in Mediawiki?

I want to render latex on a mediawiki installation that I don't have shell access to. I've tried and failed to use the Math installation, so I'd like to include the equivalent of these two scripts in ...
0
votes
4answers
154 views

How can i replicated this functionality? [closed]

http://www.astorandblack.com/ab/bespokevisualizer/ (click on "continue as guest") A client wants this "bespoke visualizer" on their site. Is there a third party plugin I can buy for this? It can be ...
1
vote
1answer
72 views

Why would the Better Wordpress Minify plugin cause alignment issues when activated?

I just installed the Better Wordpress Minify plugin to speed up a Wordpress site. The plugin is causing a couple very small alignment issues, but I can't seem to get the plugin settings adjusted to ...
2
votes
1answer
98 views

Will asynchronous JavaScript affect SEO?

As page load time affects SEO ranking. In my site I am having some asynchronous JavaScript like AddThis, Google Translator which makes my page load time longer. I want to know whether is there any ...
1
vote
0answers
26 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', ...
2
votes
1answer
245 views

Uploading a file automatically for speed test?

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how speed test works. A file is downloaded for a limited time ...
0
votes
0answers
7 views

JavaScript, D3 and SEO [duplicate]

I have an unusual website with unique content that gets updated once a month : www.inmobogota.com.co The bulk of the content is visualized in an interactive way through the D3 library of JavaScript. ...
0
votes
1answer
43 views

Circular Progress Button – different times for different buttons [closed]

I'm trying integrate these awesome circular buttons with my form. Everything works but I have one problem: I wanna different status time for each button. Here is an example: ...
1
vote
1answer
58 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
6
votes
4answers
10k views

What is the optimal folder structure for a web directory?

I've been doing web development for years, and I've always done a web structure similar to this: public_html/login.php public_html/css/login.css public_html/js/login.js public_html/img/logo.png ...
1
vote
1answer
81 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
380 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 ...