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;
39 font-family: "LockClock-Light";
40 padding:
0px
0px
0px
1px;
43 text-shadow: -
0.5px -
1px
1px black;
47 font-family: "Helvetica";
50 text-shadow: -
0.5px -
1px
1px black;
53 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) {
69 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
71 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD.png);
86 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
88 background: url(file:///System/Library/PrivateFrameworks/TelephonyUI.framework/BarLCD_T.png);
104 font-family: "Helvetica";
130 vertical-align:middle;
133 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) and (device-height:
480px) {
139 @media only screen and (min-device-width:
320px) and (max-device-width:
480px) and (device-height:
568px) {
145 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: landscape) {
151 @media only screen and (min-device-width:
768px) and (max-device-width:
1024px) and (orientation: portrait) {
156 </style></head><body>
157 <script type=
"text/javascript">
158 if (kCFCoreFoundationVersionNumber
> 800)
159 document.write('
<div style=
"height: 24px"></div>');
161 document.write('
<style type=
"text/css"> #lcd { background: url(cydget://_UIImageWithName/UILCDBackground.png); }
</style>');
164 <script type=
"text/cycript" src=
"lcd.cy"></script>
165 <script type=
"text/cycript">
166 dlopen("/System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary", RTLD_GLOBAL);
168 var version = typeof PLCameraAlbum != "undefined" && [PLCameraAlbum respondsToSelector:@selector(sharedInstance)] ?
0 :
1;
172 album = [[PLCameraAlbum sharedInstance] images];
174 album = [[PLPhotoLibrary sharedPhotoLibrary] albums][
0];
176 version = [album respondsToSelector:@selector(managedObjectContext)] ?
2 :
1;
178 album = album.contents;
180 [album indexOfPosterImage];
182 album = album.managedObjectContext.registeredObjects.allObjects;
186 var getImage = function(index) {
187 var object = album[index];
190 return [[object fileGroup] pathForFullSizeImage];
191 else if (version ==
1)
192 return '/var/mobile/Media/' + [object directory].toString() + '/' + [object filename].toString();
193 else if (version ==
2) {
194 if ([object respondsToSelector:@selector(fileURLForLargeDisplayableImage)])
195 return [object fileURLForLargeDisplayableImage];
196 else if ([object respondsToSelector:@selector(filePathsWithoutThumbs)])
197 return [[object filePathsWithoutThumbs] anyObject];
203 var jpeg = null, length = album.length;
205 for (var i =
0; i !=
5; ++i) {
206 jpeg = getImage(Math.floor(Math.random() * length));
212 for (var i =
0; i != length; ++i) {
219 document.write('
<img src=
"' + jpeg.toString() + '"/>');