}
MSHook(bool, _ZN7WebCore16MIMETypeRegistry29isSupportedJavaScriptMIMETypeERKNS_6StringE, const WebCore::String &mime) {
- bool jscript;
+ if (!GetParser1() || mime != "text/cycript")
+ return __ZN7WebCore16MIMETypeRegistry29isSupportedJavaScriptMIMETypeERKNS_6StringE(mime);
- if (!GetParser1()) through:
- jscript = __ZN7WebCore16MIMETypeRegistry29isSupportedJavaScriptMIMETypeERKNS_6StringE(mime);
- else if (mime == "text/cycript") {
- SetParser(true, true);
- jscript = true;
- } else
- goto through;
+ static void *handle(dlopen("/usr/lib/libcycript.dylib", RTLD_LAZY | RTLD_GLOBAL));
+ if (handle == NULL)
+ return false;
- return jscript;
+ SetParser(true, true);
+ return true;
}
/* Cydget:// Protocol {{{ */
Section: Development
Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
-Version: 0.9.3082-1
+Version: 0.9.3083-1
Description: framework for managing lock screen plugins
Name: Cydget
Depends: mobilesubstrate (>= 0.9.2587-1), firmware (>= 2.2), preferenceloader, apr-lib