From 908c6a3acb35be154ec48152ea5a4efacd66e161 Mon Sep 17 00:00:00 2001 From: Mohammed Ifkirne <161834771+MohaIfk@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:56:47 +0100 Subject: [PATCH] enabling show screen size future --- contributor.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 contributor.js diff --git a/contributor.js b/contributor.js new file mode 100644 index 0000000..1a2ea09 --- /dev/null +++ b/contributor.js @@ -0,0 +1,5 @@ +((a, b) => { + var sizes = [a.screen.width, a.screen.height] + var ratio = sizes[0]/sizes[1] + b.log("screen size: "+sizes[0].toLocaleString()+":"+sizes[1].toLocaleString()+" ratio of "+ratio.toLocaleString()) +})(window, console) \ No newline at end of file