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

Providing minimal HTML for SEO [on hold]

I have a dynamic page with infinite scroll, lightboxes, pushstate, etc. (Think of Pintrest, or the Chrome Web Store.) A lot of dynamically generated content. I'm familar with techniques such as HTML ...
0
votes
0answers
14 views

What language should I use? [on hold]

I have a project idea and I'm ready to get started with it. I know basic programming (loops, variables etc) - learned from Java. This website will essentially allow the user to sign up and then ...
0
votes
0answers
12 views

How to muted on my website with code php [closed]

SO, i take scrip from http://www.ilive.to , my script: and i insert to my page: todaytv.me/sporttv20.php i want my page load with no sound...
0
votes
2answers
27 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 ...
3
votes
4answers
168 views

Are there any scripts to integrate social networking site's chat and posting features into a webpage [closed]

Are there any scripts to integrate social networking site's chat and posting features into a webpage using PHP or JS... for example a section with Facebook chat, a section to post to twitter and maybe ...
4
votes
1answer
259 views

Google Analytics cookie across SagePay checkout

We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions. In Google Analytics, under the ...
0
votes
2answers
650 views

Embed content, iFrame or load via JavaScript?

I have to load remote content in several sites and I'd like to know which is the best technique. I know I can go trough an <iframe> but it isn't SEO friendly. I want the content to be found and ...
1
vote
0answers
18 views

line monitoring of phonograms (songs) of radio [closed]

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 ...
0
votes
1answer
26 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 ...
2
votes
1answer
58 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
28 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
26 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 ...
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 ...
0
votes
1answer
122 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
1answer
41 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
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 ...
1
vote
1answer
38 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
224 views

Customising Google Maps breaks highway label blocks

I'm trying to customise a Google map to use shades of a particular colour. It's working nicely except the blocks that contain major road names / numbers is illegible. I've figured out how to target ...
1
vote
2answers
141 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 ...
1
vote
0answers
35 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
14 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 ...
0
votes
1answer
69 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. ...
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
36 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
80 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
61 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
136 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
236 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
47 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
2
votes
2answers
219 views

How to do a JavaScript redirection to the same page without hurting my SEO?

I did something that does that when people land on my page for the first time, they get a JavaScript redirection to the same page, but with PHP $_GET URL queries, then this page redirect back to the ...
1
vote
1answer
2k views

Vertical page flip effect

I found turn.js as a very simple and nice effect to create page flip effect. The problem is that I'm looking for that effect but vertical not horizontal. Does anybody knows any Javascript or what ...
0
votes
1answer
100 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 ...
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 ...
0
votes
1answer
169 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
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
3answers
87 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 ...
2
votes
1answer
106 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 ...
1
vote
2answers
693 views

Any drawbacks by including Google Analytics in your main js file?

I'm using MVC that is compressing and minifying all my js files into one file so basically there is only one request. As far as I see every page has Google Analytics code below their js includes. If ...
6
votes
5answers
4k views

Chrome refused to execute this JavaScript file

In the head of my HTML page, I have: <script src="https://raw.github.com/cloudhead/less.js/master/dist/less-1.3.3.js"></script> When I load the page in my browser (Google Chrome v ...
20
votes
6answers
13k views

How do you exclude yourself from Google Analytics on your website using cookies?

I'm trying to set up an exclusion filter with a browser cookie, so that my own visits to my don't show up in my Google Analytics. I tried 3 different methods and none of them have worked so far. I ...
1
vote
2answers
35 views

Read-only cross origin domain request

Is it possible to allow read-only access in a CORS header? I want JS from two websites to be capable of verifying each other, but not altering each other.
12
votes
5answers
3k views

Should I worry about people disabling Javascript?

Often when picking new tools and frameworks I see the warning "Will not work if the user has disabled Javascript". I then look at my Javascript powered slideshow, Javascript powered menu, and ...
1
vote
2answers
117 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: http://i.stack.imgur.com/7FvYO.png could ...
1
vote
1answer
188 views

What could be causing this long waiting time on page load?

What could be causing a 1.18s wait time when my page loads? Just to make sure I did not have any conflicting or parallel scripts loading, I completely deleted all the script on my home page and ran ...