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)

1
vote
2answers
18 views

Joining and compressing all javascript files together - good idea?

Curently, I avoid loading any unnecesary scripts on individual pages of my site. I have a class that remembers all javascript files that were requested during PHP processing and adds them to HTML. I ...
4
votes
1answer
361 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 ...
2
votes
1answer
91 views

@Viewport @media use for input type?

I've searched high and low for some way to setup my HTML5/CSS3 for various devices. Going by screen resolution isn't the best route because some times the screen size of one device is the same as ...
1
vote
1answer
151 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
1answer
25 views

Make my website dynamically loaded data available to Facebook Open Graph Object Scrapper

Here is the design of my web site: The user enter myWebsite.com/a/1 .htaccess rules redirect to myWebsite.com/b Now the JavaScript ExtJS library is loading. Extracting the value from the URL (in ...
0
votes
1answer
160 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 ...
5
votes
0answers
119 views

Google indexing pages with #! although we don't have any

Our company has developed a Single Page Application using AngularJS and its routing. Google indexed our site decently with JavaScript but it did not index some pages very well so we have developed an ...
1
vote
0answers
159 views

Why is my Custom HTML tag not fired in Google Webmaster Tools

I have a Custom HTML tag in Google Webmaster tools 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 ...
1
vote
0answers
103 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
3k views

Line Feed or Carriage Return - What to use?

In javascript, Line Feed and Carriage Return behaves similarly. Which one to use and when? OR Can it be used alternatively? Unicode Characters: Line Feed: \u000A Carriage Return: \u000D ...
1
vote
0answers
222 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 ...
0
votes
0answers
15 views

How to clean PmWiki from JS:Includer-AWG and protect my site from future infections?

I'm hosting a site for an NGO for several years now. The site seems to be based on a PmWiki backend. I don't know much details because I'm just hosting the site and I'm not the guy who set it up. I ...
0
votes
0answers
37 views

How to inspect code in case of Arabic language?

In case of English, I am able to view by inspect element directly. I want to do the same for Arabic. Using body{direction:rtl} only flips some views but it does not apply body.rtl specific CSS ...
0
votes
0answers
18 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
0answers
27 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
7 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