All Questions
Tagged with google javascript
12
questions
2
votes
1
answer
1k
views
google maps API key for clients
Google API key is now required for new websites even for a single map embed.
How are you going to handle this?
I guess the correct way should be to ask a client to create his google API key and send ...
12
votes
1
answer
17k
views
What does Google mean here when they say "don't copy and paste this code"?
Here is an excerpt from code from Google's recaptcha API (https://www.google.com/recaptcha/api.js):
/* PLEASE DO NOT COPY AND PASTE THIS CODE. */
(function() {
if (!window['___grecaptcha_cfg']) { ...
7
votes
2
answers
1k
views
How hidden classes allows faster access to properties in google's V8?
As Lars Bak and Jay Conrod described in several videos and papers, the main idea of hidden classes in V8 is to store concrete offset or transition to another hidden class which probably contains this ...
2
votes
0
answers
499
views
Should we still care about _escaped_fragment_ and alternate HTML generation for Single Page Applications?
A few months ago I started a project, which will have two parts – business client overview panel (AngularJS SPA) and public front-end (dynamic HTML with progressive enchancements via XHR).
I'd really ...
2
votes
1
answer
465
views
What are security advantages of Google Caja over using the web worker API? [closed]
I am currently looking into Google Caja to run user-supplied JS code in the browser and in Node.
So far, I understand, that, in a browser context, "cajoled code" disallows reading and messing with ...
1
vote
1
answer
414
views
How does google code prettify works? [closed]
I am using google code prettify. After a page renders, I decided to check how <code> and <pre> tags and their contents were manipulated.
But in view source, I found no changes were made (...
2
votes
2
answers
2k
views
Google Maps-based desktop application [closed]
I want to build a desktop application which has google maps embedded to it. This app should have a thread to read coordinate data online a usb microphone to use. This application will move the google ...
3
votes
6
answers
754
views
Does heavy JavaScript use adversely impact Googleability?
I've been developing the client-side for my web-app in JavaScript.
The JavaScript can communicate with my server over REST (HTTP)[JSON, XML, CSV] or RPC (XML, JSON).
I'm writing writing this ...
3
votes
1
answer
2k
views
Why hasn't Caja been popular? [closed]
Google released Caja around 2008(Capability JavaScript). It is still mainly a laboratory language. But XSS and other attacks would be prevented if there was widespread integration of Caja.
0
votes
1
answer
103
views
Do CDNs (such as MSFT and Google) act on the referrer header sent by clients?
Will my site be automatically indexed, or search ranking affected based on my use (or non use) of the Google/MSFT CDN?
My clients will be sending them the referrer header which I may or may not want ...
2
votes
2
answers
191
views
Trimming script size by using array notation for frequently accessed properties
I noticed some redundancy in a script I ran through Google Closure Compiler.
(function(){function g(a){var k;if(a){if(a.call)a.prototype=j,a.prototype[e]={}}else a=
{};var c=a,b,c=(a=c.call?c:null)?...
9
votes
9
answers
1k
views
What does Google or Microsoft get by hosting JS files on their Content Delivery Networks (CDN)?
As you know Google, Microsoft and jQuery.com offer JS files on their CDN. To do this, they must need to operate significant servers which must come at a cost to them. Why do they do this and what do ...