Detect browser engine.
This commit is contained in:
parent
aecf386692
commit
925b7fc795
@ -66,7 +66,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var $, $$, DAY, Favicon, HOUR, MINUTE, Main, NAMESPACE, Recaptcha, SECOND, Time, VERSION, anonymize, conf, config, cooldown, d, expandComment, expandThread, filter, flatten, g, getTitle, imgExpand, imgGif, imgHover, key, keybinds, log, nav, options, qr, quoteBacklink, quoteInline, quoteOP, quotePreview, redirect, replyHiding, reportButton, revealSpoilers, sauce, strikethroughQuotes, threadHiding, threadStats, threading, titlePost, ui, unread, updater, val, watcher;
|
var $, $$, DAY, Favicon, HOUR, MINUTE, Main, NAMESPACE, Recaptcha, SECOND, Time, VERSION, anonymize, conf, config, cooldown, d, engine, expandComment, expandThread, filter, flatten, g, getTitle, imgExpand, imgGif, imgHover, key, keybinds, log, nav, options, qr, quoteBacklink, quoteInline, quoteOP, quotePreview, redirect, replyHiding, reportButton, revealSpoilers, sauce, strikethroughQuotes, threadHiding, threadStats, threading, titlePost, ui, unread, updater, val, watcher;
|
||||||
var __slice = Array.prototype.slice;
|
var __slice = Array.prototype.slice;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
@ -221,6 +221,8 @@
|
|||||||
|
|
||||||
DAY = 24 * HOUR;
|
DAY = 24 * HOUR;
|
||||||
|
|
||||||
|
engine = /WebKit|Presto|Gecko/.exec(navigator.userAgent)[0];
|
||||||
|
|
||||||
d = document;
|
d = document;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
|
|||||||
@ -127,6 +127,7 @@ SECOND = 1000
|
|||||||
MINUTE = 60*SECOND
|
MINUTE = 60*SECOND
|
||||||
HOUR = 60*MINUTE
|
HOUR = 60*MINUTE
|
||||||
DAY = 24*HOUR
|
DAY = 24*HOUR
|
||||||
|
engine = /WebKit|Presto|Gecko/.exec(navigator.userAgent)[0]
|
||||||
d = document
|
d = document
|
||||||
g = callbacks: []
|
g = callbacks: []
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user