mirror of
https://github.com/NohamR/safari-internal-js.git
synced 2026-10-11 02:49:41 +00:00
Add 27.0 js src
This commit is contained in:
24
27.0/js/reader/ReaderMacUI.js
Normal file
24
27.0/js/reader/ReaderMacUI.js
Normal file
@@ -0,0 +1,24 @@
|
||||
//# sourceURL=__InjectedScript_ReaderMacUI.js
|
||||
/* Copyright (c) 2026 Apple Inc. All rights reserved. */
|
||||
/*
|
||||
* Copyright (c) 2010 Apple Inc. All rights reserved.
|
||||
*/
|
||||
function setScrollTop(e) {
|
||||
document.documentElement.scrollTop = e;
|
||||
}
|
||||
function readerWillBecomeVisible() {
|
||||
setReaderIsActive(!0);
|
||||
}
|
||||
function readerWillEnterBackground() {
|
||||
setReaderIsActive(!1);
|
||||
}
|
||||
((ReaderJS._clickingOutsideOfPaperRectangleDismissesReader = !0),
|
||||
(ReaderJS._isJavaScriptEnabled = function () {
|
||||
return !!(ReaderJSController.initialConfiguration() || {})[
|
||||
ReaderConfigurationJavaScriptEnabledKey
|
||||
];
|
||||
}),
|
||||
(ReaderAppearanceJS._tryApplyStaticConfiguration = function () {
|
||||
return (document.body.classList.add("mac"), !1);
|
||||
}));
|
||||
0;
|
||||
Reference in New Issue
Block a user