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;
44 font-family: "Helvetica";
48 text-shadow: -
0.5px -
1px
1px black;
53 font-family: "Helvetica";
80 vertical-align:middle;
83 <div id=
"content"><script type=
"text/cycript">
84 document.write('
<div id=
"lcd">');
86 var locale = CFLocaleCopyCurrent();
87 var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent());
88 var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle);
91 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
92 var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
93 document.write('
<h1>');
95 document.write('
</h1>');
98 CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat));
99 var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
100 document.write('
<h2>');
101 document.write(date);
102 document.write('
</h2>');
105 CFRelease(formatter);
108 document.write('
</div>');
110 dlopen("/System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary", RTLD_GLOBAL);
112 var old = [PLCameraAlbum respondsToSelector:@selector(sharedInstance)];
116 album = [[PLCameraAlbum sharedInstance] images];
118 album = [[[PLPhotoLibrary sharedPhotoLibrary] albums][
0] contents];
120 var jpeg = null, length = album.length;
121 for (var i =
0; i !=
5; ++i) {
122 var object = album[Math.floor(Math.random() * length)];
124 jpeg = [[object fileGroup] pathForFullSizeImage];
126 jpeg = '/var/mobile/Media/' + [object directory].toString() + '/' + [object filename].toString();
132 for (var i =
0; i != length; ++i) {
133 jpeg = [[album[Math.floor(i)] fileGroup] pathForFullSizeImage];
138 document.write('
<img src=
"' + jpeg + '"/>');