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
2answers
18 views

Dynamically load CSS

I'm using LESS for creating CSS and I'm considering using something like grunt-render on the server side in order to only load the CSS / JS that is needed for that page. My goal is to reduce overhead ...
1
vote
0answers
17 views

line monitoring of phonograms (songs) of radio [on hold]

I need to create a monitoring system of phonograms (songs) of radio and television online through streaming so on, but my team and know the way to develop this monitoring system, I know there ...
2
votes
1answer
47 views

AngularJS SEO for static webpages (S3 CDN)

I've been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there, PhantomJS, prerender.io, ...
0
votes
1answer
23 views

Will i18next affect SEO? What about screen readers?

I'm considering using i18next for translating text. But then it suddenly struck me; If labels / text is retrieved through javascript, won't that affect SEO? And what about screen readers for visual ...
0
votes
1answer
25 views

Is linked text searchable by crawlers?

I recently created a simple website for a web-app I made. The site and the app are both mobile oriented, so there is a limited amount of room for adding text content (I designed the interface to avoid ...
-2
votes
0answers
10 views

ie8 popup - always on top [closed]

Looking for a script / tutorial that forces a popup window to the forefront of the screen (above over windows) Requirements: + ie8 compatible + popup seperate window (not lightbox) + javascript ...
0
votes
1answer
33 views

Is 91 http requests too much for a web page load?

We are running a asp.net web application, recently we received a lot of crash reports from user. It sometimes crashes Chrome browser, sometimes it loads infinitely. This is how our system is ...
1
vote
1answer
32 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 ...
1
vote
2answers
40 views

Do spam bots load the DOM?

I have an issue where a form on my site is getting spammed. The form is actually a copy paste job from a CRM, so I cannot access any of the server side script to make a good human checker. In the ...
2
votes
1answer
39 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 ...
1
vote
0answers
32 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
28 views

Can a webpage dial a traditional phone land-line? [closed]

I am working a website for a sales team and I would like to know if there is a way to dial a traditional telephone land-line from a webpage using JavaScript or a plugin in conjunction with a piece of ...
0
votes
0answers
17 views

Discrepancy in Google Analytics 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', ...
0
votes
0answers
13 views

Will auto refresh burdens my web app?

I am a self learner and I now 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 ...
1
vote
1answer
13 views

how to send and display data from one domain to another? [closed]

I have my portal on asp.net, my friend have on php. He wants to me to return text data from my database by sending parameter and wants to display it on his portal. I have given him url say ...
0
votes
1answer
33 views

Declaring variables using single or multiple var statements. Performance wise [closed]

Someone once told me that it's better for Javascript performance to use one var statement rather then multiple. I.e. // Version A. Allegedly Faster var a = 1, b = 2, c = 3; // Version B. ...
2
votes
2answers
77 views

Is changing HTML with JavaScript bad for SEO?

Building web apps I don't have to worry so much about SEO for back end things so dynamically changing the HTML isn't an issue. I am using backbone.js with a front end site I'm building and the site ...
3
votes
2answers
59 views

Can Google index pages that use framesets generated by javascript (document.write)?

I was tasked to check on why Google can't seem to index a client site properly. The site uses a framework given by client's parent company (so we can't use other framework). The framework use ...
2
votes
3answers
133 views

rel=nofollow, JavaScript slider content, SEO

My website has all content on one page. I'm using JavaScript to slide (animate) between the various "subpages", so only the subpage content is shown. The menu buttons are as this: <a ...
0
votes
0answers
25 views

Stopping JavaScript savvy bots from getting into GA in the first place

I'm aware that bots can be filtered out at the profile level in GA, but I hadn't considered the effect of letting all that bogus data into the web property, and therefore ultimately counting against ...
0
votes
0answers
13 views

SEO for Backlinks Using JavaScript on a Third-Party site [duplicate]

We are currently implementing a widget that companies can put on their website. We give the publisher a script tag with the source pointing to a javascript file hosted on a CDN with the code they need ...
2
votes
1answer
213 views

Internet Explorer iframe JavaScript access denied

I have a webpage on domain www.example.com that has an <iframe> with a page test.html from sub.example2.com. test.html includes a JavaScript from another domain: <script ...
0
votes
1answer
24 views

How to void JavaScript on submission?

My friend is kind of web-developer, beginner. I noticed that he didn't purify his user input on form submission, so I could easily save to his DB working <script>alert();</script>. After ...
0
votes
2answers
42 views

Question about external JavaScript and SEO [duplicate]

I have a question about external JavaScript and SEO. Assume I have a site called example.com with and index page of: <html> <body> <div class='main-container'> <script ...
0
votes
0answers
5 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? thx
0
votes
1answer
25 views

Cannot add DataTables.net javascript into Joomla 1.5

I've been having this problem where i couldn't add Datatables.net javascript into my Joomla article. I have been trying to include it through Jumi. To say that my editor strips of the tag is ...
1
vote
2answers
135 views

How to redirect keeping the referral without server-side redirects?

I have an HTML page hosted in Dropbox that some external websites link to. I want to redirect to a different page using only HTML or Javascript, since I can't use any server-side redirects. My goal ...
0
votes
1answer
163 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 ...
0
votes
1answer
96 views

Ecommerce product information missing with Google Universal Analytics

I recently upgraded to (Google) Universal Analytics but since the upgrade no product information is appearing in my Conversions reports. But, transactions do appear as do all of the other usual ...
0
votes
0answers
10 views

What's the best way to create a widget for blogs? [duplicate]

I'd like to let bloggers to embed my widget, but there is a problem: If I create a JS widget, or an iframe, I will not get any benefits from SEO. So, there is a smart way to let easly embed a widget ...
0
votes
1answer
68 views

Best practice for scroll-up web page

As was pointed out in a question asked earlier, Google will not recognize when the DOM is altered via JavaScript after initial page load to start at the bottom and scroll up rather than down. ...
0
votes
3answers
86 views

How does Google treat multiple page title matches from same site?

I have several non-duplicate page titles that match a search query, say for the query 'stackexchange': <title>John Smith Popular Content</title> <title>John Smith ...
4
votes
1answer
53 views

Tracking dynamic events in Google Analytics?

I'm trying to implement dynamic events in my platform to trackearlos. My question is: For generating these events and who are trackeados in Google Analytics to put the push of the "onclick" to do ...
1
vote
1answer
41 views

I have multiple versions of the same landing page. How can I tell Google Analytics which is being viewed?

I'm sending a link to a landing page to a number of different companies and need to be able to tell Google Analytics which company is viewing the page and when. I of course have my original link to ...
5
votes
2answers
84 views

SEO & Return false on click event

I have a dropdown menu and I'm a trying to make it function more logically on touch devices, it currently following the link. On desktops the dropdown menu is displayed onmousehover and when the menu ...
4
votes
1answer
182 views

Is it necessary to specify content-type in http response header?

Except for the html document, currently all the files (css, javascript and images) served from my web server do not specify the content-type in the http response header. I happen to notice this as I ...
0
votes
0answers
12 views

Money exchange field [duplicate]

It was on hold for over 1.5 hour even after I made changes, so here again. I am making a money exchange website. On my homepage there will be 2 fields, The first field is a Bitcoin field and the ...
1
vote
2answers
10k 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 ...
1
vote
1answer
51 views

Effective upload to backend?

Let's say I have a website with frontend and backend. The website allows users to upload some data ranging from hundreds of MB to GB. How do you effectively upload this data? The easiest way would ...
3
votes
1answer
224 views

How to check if linked JavaScript and CSS files are being used?

I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way to analyze the site and determine which ones are actually being used? Or ...
1
vote
1answer
178 views

how to retrieve img alt text with jquery or javascript? [closed]

Which is the code with which we can retreive alternative text of image: It is a Cataloge with clothes. Dressers, Shirts, Skirts e.t.c. in front page of a site. The featured images of the categories ...
1
vote
0answers
101 views

No cache and Google AdSense performance

I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header: <?php header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); ...
0
votes
2answers
130 views

Google Analytics and Whos.amung.us in realtime visitors, why such an enormous discrepancy?

Since years I use in a site both Google Analytics and Whos.amung.us, both Google analytics and whos.amung.us javascripts are inserted in the same pages in the tracked part of the site. In real-time ...
0
votes
1answer
55 views

Will Google treat this JavaScript code as a bad practice?

I have a website that provides a custom UX experience implemented via JavaScript. When JavaScript is disabled in the browser the website falls back to CSS for the layout. To make this possible I've ...
0
votes
1answer
120 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 ...
1
vote
1answer
73 views

Google Analytics Not tracking data correctly IP-address issue?

I have developed a small site for a client and the site has been placed inside a <iframe> at the clients site. The GA-script I'm using looks like this: <script type="text/javascript"> ...
0
votes
1answer
126 views

Segment subdomains with Google Analytics?

So, when a website has multiple subdomains: www.example.com foo.example.com bar.example.com What is the best way to use Google Analytics to segment the data? I would prefer have access to 'All ...
0
votes
1answer
56 views

Suddenly my server reject all POST requests

Just go to http://meet-romance.com/test.htm. The script there is simple, it's a form with a button: <form action="test.htm" method="post"> <input name="Button1" type="submit" value="button" ...
0
votes
1answer
188 views

A POST request on a page with HTTPS is done automatically in HTTPS?

If I make a request to page.php (AJAX) with JavaScript from a HTTPS page, the request is automatically made ​​page.php directly with HTTPS or HTTP? If HTTP, how to send a request (to the same domain) ...
0
votes
1answer
375 views

What does it mean to infect people with silent java drive?

I've got a weird contact message through my website, claiming they have found a security vulnerability and wonder if I have a bug bounty program. The details they shared: Only what I can say is ...