From 3c1409fdbb1d982e7dbc5e5abc668d6fc9e5b749 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 12 Mar 2009 01:01:43 +0000 Subject: [PATCH] - recognize konqueror from kde3 as WebKit to setup dom:loaded event emulation Changed files: dokuwiki-plugin-lightbox-konqueror.patch -> 1.1 --- dokuwiki-plugin-lightbox-konqueror.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dokuwiki-plugin-lightbox-konqueror.patch diff --git a/dokuwiki-plugin-lightbox-konqueror.patch b/dokuwiki-plugin-lightbox-konqueror.patch new file mode 100644 index 0000000..b0bfa4c --- /dev/null +++ b/dokuwiki-plugin-lightbox-konqueror.patch @@ -0,0 +1,11 @@ +--- lightbox/script.js~ 2009-03-12 03:00:14.000000000 +0200 ++++ lightbox/script.js 2009-03-12 03:00:15.750346833 +0200 +@@ -12,7 +12,7 @@ + Browser: { + IE: !!(window.attachEvent && !window.opera), + Opera: !!window.opera, +- WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, ++ WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1 || navigator.userAgent.indexOf('KHTML') > -1, + Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, + MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) + }, -- 2.43.0