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)

2
votes
2answers
12k views

Do pop-up ads have a negative impact on SEO?

I was observing Google results for months to determine if pop-up ads have a negative impact on SEO. Regarding my observations, sites without pop-ups usually get ranked better. Actually, that doesn't ...
2
votes
1answer
575 views

Can minification in Google PageSped service break Adsense?

A few days ago I applied for Adsense account. But it was rejected due website being down. Here is the full message: We did not approve your application for the reasons listed below. Issues: ...
2
votes
1answer
397 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.
2
votes
1answer
116 views

New to website form validation

I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a preexisting ...
2
votes
2answers
279 views

How can I create a dynamic site that is still search-bot friendly?

If I want to have a slide effect between pages. You click a link, it is loaded off to the side and then slides in (pushing the old page off the other side). I can imagine using jQuery to do the PHP ...
2
votes
1answer
536 views

Reduce HTTP Requests method for js and css

Is these way can Reduce HTTP Requests? multiple javascript files with & symbol <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.5.2/build/yahoo-dom-event/yahoo-dom-event....
2
votes
1answer
856 views

How to redirect user into mobile website?

Hi how to redirect the user into mobile site when the user accessing from mobile. Say example i have site called www.mysite.com. Now, a person accessing a website from mobile it should redirect to www....
2
votes
3answers
445 views

Cross Browser CSS script?

a few weeks ago I stumbled over a javascript that you can add to your site, and it would automatically modify your css, to work around some bugs in browsers, and add features they don't support (e.g. ...
2
votes
1answer
123 views

Google Ads Blocking Other Site Elements From Loading

I'm using Google DFP to serve Adsense ads. In Google Chrome (this doesn't seem to happen in other browsers), the page will get stuck loading pagead2.googlesyndication.com. It will just load for hours ...
2
votes
2answers
104 views

Major SEO Pitfalls of JavaScript loaded CSS?

Looking to start with a basic.css and have JavaScript load enhanced.css when JavaScript is ebabled. What major negatives will this have for Search Engines indexing and ranking my site?
2
votes
2answers
534 views

A JavaScript Rich Editor That Doesn't Convert Non-ASCII Text to Character Entities?

I am working on a site for Spanish speakers, and I am looking for a UTF-8 enabled JavaScript Rich Text Editor that preserves non-ascii characters as text, instead of entity encoding. That is, when I ...
2
votes
1answer
298 views

What are the PCI compliance and security implications for processing payments through my embeddable widget?

I've built a little embeddable Javascript widget that list items for sale for publishers to embed on their site. The current use case is that when the user clicks on an item, they are redirected to my ...
2
votes
2answers
842 views

Google Search iFrame works in Chrome and firefox but not IE8

I use Google site search in a IFrame for my sites search engine. When I search for something in Chrome/FireFox "Flight" I get the results page. When I do the same search in IE8 I get 404 error. Site:...
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 ...
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 ...
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 ...
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
356 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
72 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 class="...
2
votes
2answers
239 views

Is it possible for a script tag to be perceived as an inbound link for SEO?

My company has <script> tags on a lot of sites, some of these sites have very high page ranks. Right now the <script> tags have a src of Microsoft's blob data. We want to move away from ...
2
votes
1answer
54 views

Disqus “unable to load” during Google “fetch and render”

If you look carefully at the below image you can see the message "We were unable to load Disqus" ... Does anyone know how to fix this?
2
votes
1answer
52 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?
2
votes
1answer
295 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 ...
2
votes
2answers
54 views

May site A or B get banned/penalized if from site A I use window.open to site B?

As many advertising systems open popups, I was wondering what if from my site A I make (randomly, I mean not every time) a window.open(B)? Could one of the sites get banned?
2
votes
2answers
4k views

What service could be adding NewRelic?

At the bottom of my web pages is: <script type="text/javascript"> if (!NREUMQ.f) {NREUMQ.f=function() {NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script"); e.type="...
2
votes
1answer
177 views

JavaScript loaded external content SEO

I wonder what is the best way to have Javascript loaded content indexed by search engines. I know that search engines don't execute Javascript, but I am thinking more of an progressive enchantment. I ...
2
votes
1answer
1k views

Weather Widget/API

I am developing a website and am looking for an easy piece of code that I can add to a webpage that will display the weather for today and also for the next 5 days for a given location (Wellington, ...
2
votes
1answer
1k views

Show/Hide Div - Cross browser compatibility and jquery concerns

I'm working on displaying a hidden div when clicked on for a website. This would be a contact for to request more information about a product, so, its a very important form. So, i came across the ...
2
votes
2answers
325 views

jQuery scrolling images for e-commerce site, what to do about users who disable JS

As the title suggests, I am developing an e-commerce site and I intend of having two jQuery plug ins on the default page, one for scrolling images and the other for the navigation menu. Should I be ...
2
votes
1answer
138 views

If my URL's are static, but then parsed by Javascript, does that make it crawlable?

Lets say I have a link: <a href="/about/">About Us</a> But in Javascript [or jQuery] catches it and then adds the hash based off of the href attribute: $('a').click(function(e) { e....
2
votes
2answers
295 views

Run external application on markdown source in ikiwiki

Can I add a button to each wiki page in ikiwiki which launches an external application (on the client side) or script with the markdown code of the current page as input? Edit: I didn't realize that ...
2
votes
2answers
695 views

How to interpret Events from Unique Events in Google Analytics?

I'm trying to add some javascript triggered Google Analytics events to a website that is already working with GA. I've included the following beneath the standard GA script (new ga.js script). _gaq....
2
votes
1answer
8k views

Javascript not loading from local drive

I'm overlooking the obvious...Modifying an index page on local hard drive before uploading it to server. And the javascript is not loading. This doesn't work: file:///Users/meltemi/Sites/mysite/index....
2
votes
2answers
251 views

What could artificially increase the bounce rate reported in Google Analytics?

Since deploying Janrain Engage to our website, which includes a javascript snippet that is loaded from their servers, I've noticed about 10-15% increase in our bounce rate. I think this is artificial ...
2
votes
1answer
437 views

SimpleViewer + lightbox

Is it possible to integrate any kind of Lightbox with SimpleViewer? But I don't want to display SimpleViewer in Lightbox. I want to Lightbox show when I click on one of the images in SimpleViewer. ...
2
votes
1answer
891 views

Google Search results not showing up

I have added a custom Google Search to a site and while the search box functions the results page is pathetically empty. Here is the search box code: <form action="http://www.nu-living.com/info/...
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 ...
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 ...
2
votes
0answers
97 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
33 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
2
votes
1answer
55 views

JavaScript conditional “builds”

I'm working on a piece of JavaScript code that searches its host page for references from a certain source and when hovered, shows the definition/referenced text in a tooltip (something like Google ...
2
votes
0answers
13 views

I want to build a script CDN for my place of employment [duplicate]

I write a bunch of scripts (javascript, php, perl) for my work. Right now, people have to get the scripts themselves from our sharepoint, and then install it as either a bookmarklet or a greasemonkey ...
2
votes
0answers
62 views

Design scrollable table structure [closed]

I'm currently looking for a way to design a table structure with HTML and JS which should be Horizontally Scrollable (It has to be possible to dynamically add new columns) Tolerant to changing sizes ...
2
votes
0answers
129 views

How to run/test JavaScript? [closed]

I'm reading David Flanagan's "JavaScript: The Definitive Guide, 6th ed". It only actually tells users how to run JS code on page 311, where users are told of the following solutions: "Client-side ...
2
votes
0answers
121 views

Which JavaScript carousel zooms blocks from the playlist? [closed]

I saw a carousel/slider for displaying featured content a while ago that does something that most don't. It started fairly simply, with the top feature large, and a playlist to the side of other ...
2
votes
0answers
32 views

How to overcome politics of the net (Google translate code refuses to work from a specific region) [duplicate]

Possible Duplicate: How to overcome politics of the net (Google translate code refuses to work from a specific region) I have this Web Site. It uses the Google Translate API (Can't post the ...
2
votes
0answers
331 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 title="...
2
votes
0answers
138 views

two columns text block with an image [closed]

I have a dilemma. Here is the layout: How should I markup this kind of layout? P.S.: The columns have different width.
2
votes
4answers
520 views

Javascript slider with fade [closed]

I've been scouring the web for a slider that offers a particular effect, but I can't find one. I'm hoping that someone here will be able to help out... Specifically, I need a slider that will slide ...
2
votes
1answer
257 views

How to fix page lag on load [closed]

I have a problem with my website, when you load the index page , the headers load fine but the main content appear with a delay between each photos. The error is only on the index because there is ...