2 <meta name=
"viewport" content=
"width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
7 -webkit-border-radius:
0;
8 box-sizing: border-box;
9 -moz-box-sizing: border-box;
10 -ms-box-sizing: border-box;
11 -webkit-box-sizing: border-box;
12 /*font-family: inherit;*/
19 text-decoration: none;
20 vertical-align: baseline;
28 background: url(cydget://_UIImageWithName/UILCDBackground.png);
34 font-family: "LockClock-Light";
39 text-shadow: -
0.5px -
1px
1px black;
45 font-family: "Helvetica";
49 text-shadow: -
0.5px -
1px
1px black;
54 font-family: "Helvetica";
81 vertical-align:middle;
85 <script type=
"text/cycript" src=
"lcd.cy"></script>
86 <script type=
"text/cycript">
87 dlopen("/System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary", RTLD_GLOBAL);
89 var old = [PLCameraAlbum respondsToSelector:@selector(sharedInstance)];
93 album = [[PLCameraAlbum sharedInstance] images];
95 album = [[[PLPhotoLibrary sharedPhotoLibrary] albums][
0] contents];
97 var jpeg = null, length = album.length;
98 for (var i =
0; i !=
5; ++i) {
99 var object = album[Math.floor(Math.random() * length)];
101 jpeg = [[object fileGroup] pathForFullSizeImage];
103 jpeg = '/var/mobile/Media/' + [object directory].toString() + '/' + [object filename].toString();
109 for (var i =
0; i != length; ++i) {
110 jpeg = [[album[Math.floor(i)] fileGroup] pathForFullSizeImage];
115 document.write('
<img src=
"' + jpeg.toString() + '"/>');