Tagged Questions

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)

3
votes
1answer
527 views

Is this safe? <a href=http://javascript:…>

I wonder if href and src attributes on <a> and <img> tags are always safe w.r.t. XSS attacks, if they start with http:// or https://. For example, is it possible to append javascript: ... ...
2
votes
1answer
290 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
235 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 ...
3
votes
1answer
2k views

Hide email adress with JavaScript

I read somewhere that hiding email address behind JavaScript code, could reduce spam bots harvesting the email address. <script language="javascript" type="text/javascript"> var a = "Red"; ...
1
vote
3answers
739 views

Javascript and PHP how should I en/decode my data

I would like to know in what encryption should I encode my data and why. First of all, I use GET method because it is search engine inside website. Second, I use RTL language (hebrew). And third which ...
1
vote
3answers
774 views

Will my new HTML5 website decrease my Google ranking?

I have a traditional HTML website that loads pages/sections of the site when people click on menu items. Pretty standard. Currently, I'm working on relaunching my website with a brand new HTML5 code ...
4
votes
2answers
699 views

Does placing Google Analytics code in an external file affect statistics?

I'm working with an outside software vendor to add Google Analytics code to their web app, so that we can track its usage. Their developer suggested that we place the code in an external ".js" file, ...
1
vote
2answers
1k views

How can I make Twitter, Facebook and Reddit share buttons load last?

I have a website with a number of pages that sport Twitter, Facebook and Reddit share buttons. They take forever to load and until they do the rest of the page doesn't load. So how I can make them ...
1
vote
2answers
158 views

Here we go again - quest for web hosted forum via javascript [closed]

disclaimer If this is the wrong location for this question, then please advise me accordingly. backgound I've been using Disqus and intense debate as a 'comments' service for a variety of my ...
1
vote
1answer
29 views

Tracking Redirects Leading to your site

Is there a way in which I can find out if a user arrived at my site via a redirect? Here's an example: There are two sites, first.com & second.com. Any request to first.com will do a 302 ...
1
vote
1answer
365 views

What is a light-weight “slideshow” script that could integrate w/ CMS?

I'm looking to reduce the footprint of my Strict html 4.01 front page. One possible way is to combine much of the "upcoming events" into a single small box, and have them automagically switch which ...
2
votes
1answer
427 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. ...
29
votes
1answer
144k views

How to open the JavaScript console in different browsers?

Updated on October 7th 2012 Chrome: Press CTRL + SHIFT + J to open the "Console" tab of the Developer Tools (CMD + SHIFT + J on Macs). Alternative method: Press either CTRL + SHIFT + I or ...
8
votes
7answers
1k views

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these ...
1
vote
2answers
485 views

Optimizing perceived load time for social sharing widgets on a page?

I have placed the facebook "like" and some other social bookmarking websites link on my blog, such as Google Buzz, Digg, Twitter, etc. I just noticed that it takes a while to load my blog page as it ...
0
votes
2answers
543 views

Sidebar for Navigation in Website

I want to have a sidebar in my website with navigation in it. I will use script like phpBB etc. but I want sidebar to be displayed on every page. So I am thinking about making a Sidebar in HTML and ...
2
votes
2answers
493 views

Should I use HTTP or HTTPS to reference resources on the Google CDN?

All the examples of accessing google's CDN use https:// in the URL (including on Google itself) - but this has caused a problem when testing in Safari (certificate problem and also different domain). ...
1
vote
1answer
5k views

Why does XFBML work everywhere but in Chrome?

I try to add simple Like button to my Facebook Canvas app (iframe). The button (and all other XFBML elements) works in Safari, Firefox, Opera, but in Google Chrome. How can I find the problem? ...
1
vote
2answers
680 views

Has anyone been able to convert a site's media content from flash to html5?

I'm looking to convert a site from Flash based video to HTML5, the current video uses time marks to display slides (kind of like how youtube has ads on their videos). But the difference between ...
1
vote
3answers
154 views

Search engine for website

Does anybody have any recommendations for a search engine that I can use for my website. I currently use Google CSE, but am wondering if there is anything better. I want to be able to have the ...
3
votes
7answers
892 views

Space in img:s “ALT” attribute good/bad for search engines?

I am trying to make it easier for search engines to crawl my website, as it is almost 100% dynamic. I have a couple of transparent images which are actually links to sections of my page. I wonder, ...
0
votes
2answers
750 views

How to find a good photo gallery for my website? [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? For my website I'm searching for a really simple gallery module that looks like the one use by Dropbox. But I'd like ...
0
votes
1answer
110 views

Intentional placing of text in clipboard

By intentional I mean the user is actively clicking a button or performing an action that leads to certain text being places in their clipboard. As far as I know the only solution to this is Zero ...
4
votes
1answer
273 views

Some Adsense domain's ads are causing document.write() statements that remove the html from the page

All that is output on the page is the domain name of the advertiser, for example 'www.solar-aid.org'. The rest of the content is stripped, I believe because of a document.write() statement. I'd like ...
0
votes
3answers
146 views

How can i replicated this functionality?

http://www.astorandblack.com/ab/bespokevisualizer/ (click on "continue as guest") A client wants this "bespoke visualizer" on their site. Is there a third party plugin I can buy for this? It can be ...
2
votes
2answers
126 views

Disqus analogs? (comments platforms) [closed]

What analogs of Disqus for comments do you know?
2
votes
3answers
152 views

Recommend me a CSS/JS compressor

There are scripts to compress CSS on-demand like these. Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
2
votes
2answers
286 views

How do i properly use CustomVars in google analytics?

How do i properly use custom vars in google analytics? I used the code below and here is what i notice i only seen 'one' being in the get request After 24 hours only 'one' showed up After commenting ...
1
vote
3answers
196 views

cookie not being sent when requesting JS

I host a webservice, and provide my members with a Javascript bookmarklet, which loads a JS sript from my server. However, clients must be logged in, in order to receive the JS script. This works for ...
4
votes
3answers
2k views

Is there a Magento extension for combining/compressing javascript and css?

I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering ...
13
votes
4answers
3k views

Does the Google spider render JavaScript?

Does the Google spider knows how to render JavaScript, or only HTML?
3
votes
2answers
517 views

How can I create links in javascript that are crawlable by search engines?

If I use JavaScript + jQuery, for example, does links inserted in $(document).ready() will be available for crawling? How can I insert crawlable links in JavaScript?
4
votes
5answers
990 views

JavaScript to stream video files

Is there a JavaScript API for streaming WMV/AVI/MOV files?
1
vote
1answer
527 views

Overriding link action with ajax - SEO

If I override default link href with onclick and ajax, for example link <a href="/mypage">, so onclick I load mypage through ajax, if javascript is disabled, or its a text browser or bot, I let ...
0
votes
2answers
116 views

Recommendations for affordable and reliable Drupal theme designer [closed]

Can anyone recommend an affordable and reliable Drupal theme designer, who can take a concept and produce a Drupal 6.19-compliant theme? The backend functionality and structure of the web site is ...
10
votes
5answers
208 views

What new cross-browser features can we use if we drop support for IE6?

My company is dropping support of IE6 and I just realize that we can use a set of great features. Is there a list of CSS, Javascript features which we can use with IE6 RIP?
2
votes
1answer
658 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 ...
7
votes
3answers
4k views

Would redirecting to a new home page affect SEO?

I'm currently working on a new landing page for this site. I want the landing page to replace the existing front page of the site. However I don't want to lose the Page Rank of the current front page ...
16
votes
4answers
34k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
1
vote
1answer
104 views

Same page looks great in Firefox & crome But Not in IE8

I have a site hosted at: http://41.223.52.100/ which i used jbar to display certain text on the page. The same page looks great in Firefox & google crome but not in IE8, Can't figure-out why! ...
1
vote
1answer
460 views

Google Analytics shows 0 Visits?

I checked Analytics yesterday for pageviews, and had several hundred of them (for yesterday). Not today when I check "Yesterdays" stats (which yesterday showed several hundreds), it shows 0...? How ...
4
votes
3answers
247 views

Which jQuery slider do you suggest?

I need a slider like this one . As you can see when it's on the last part, and is needed to show the first again, it scrolls fastly to the left. I want a slider that doesn't have this behavoir. What ...
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
3answers
493 views

Have You Used Node.js In A Production Environment?

This question goes out to anyone that's used or tried to use node.js in a serious project. How stable is it? What did you use it for? How robust is it?
2
votes
2answers
714 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. ...
0
votes
1answer
289 views

addthis button default message

How to set default message, I am using addthis button for invite a friend Email on a website. that default message should also work if user choose gmail, yahoo etc from addthis box.
1
vote
1answer
604 views

Memory problem - CPU high usage in IE

I have a problem with a site, in which I try to find out what is wrong. The website is kiteclub.gr. I think that following two scripts are corresponding for the high memory usage from ie and cpu: ...
3
votes
2answers
4k views

Free/cheap Whois Api [closed]

Is there a free API where I can pull whois data and server location data? (similar to who.is)
4
votes
2answers
1k views

Embedding a Disqus forum on my website: showing scrollable area instead of expanding the height

I hope I put this question as it should, I am not an expert in html/css/javascript, so forgive me if it's not very clear. The issue is as follows. I made my first website last week for the birth of ...
2
votes
0answers
447 views

Disqus integration in website.. what is wrong? [closed]

I try to embed a disqus forum in a website I created. I used the exact code and instructions they give on the installation instructions. I just don't get it. Not much on Google either. Is something ...