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;
24 -webkit-touch-callout: none;
25 -webkit-text-size-adjust: none;
26 -webkit-user-select: none;
34 background: url(cydget://_UIImageWithName/UILCDBackground.png);
40 font-family: "LockClock-Light";
41 padding:
0px
0px
0px
1px;
44 text-shadow: -
0.5px -
1px
1px black;
48 font-family: "Helvetica";
51 text-shadow: -
0.5px -
1px
1px black;
54 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) {
66 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
78 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
95 font-family: "Helvetica";
122 vertical-align:middle;
124 </style></head><body>
126 <script type=
"text/cycript" src=
"lcd.cy"></script>
127 <script type=
"text/cycript">
128 dlopen("/System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary", RTLD_GLOBAL);
130 var old = [PLCameraAlbum respondsToSelector:@selector(sharedInstance)];
134 album = [[PLCameraAlbum sharedInstance] images];
136 album = [[[PLPhotoLibrary sharedPhotoLibrary] albums][
0] contents];
138 var jpeg = null, length = album.length;
139 for (var i =
0; i !=
5; ++i) {
140 var object = album[Math.floor(Math.random() * length)];
142 jpeg = [[object fileGroup] pathForFullSizeImage];
144 jpeg = '/var/mobile/Media/' + [object directory].toString() + '/' + [object filename].toString();
150 for (var i =
0; i != length; ++i) {
151 jpeg = [[album[Math.floor(i)] fileGroup] pathForFullSizeImage];
156 document.write('
<img src=
"' + jpeg.toString() + '"/>');