Skip to content
On this page

URL to QR code

js
javascript: (function () {
  var url =
    'http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=' +
    encodeURIComponent(location.href);
  w = open(
    url,
    'w',
    'location=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=500,height=500,modal=yes,dependent=yes'
  );
  if (w) {
    setTimeout('w.focus()', 1000);
  } else {
    location = url;
  }
})();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

References

The code above was copied from the following page: