PageSourceSearch

https://maharashtra.gov.in/Scripts/home-custom.js

js maharashtra.gov.in collected 2026-10-01 09:07:04 UTC 5,452 bytes, 1 lines download raw bytes

1$(function () { var n = $(".ticker1"); n.modernTicker({ effect: "scroll", scrollType: "continuous", scrollStart: "inside", scrollInterval: 20, transitionTime: 500, autoplay: !0 }); var e = $(".navbar-nav > li > a"), t = $(".menuIconList > li > a"), i = $(".banner,header,footer"), o = $(".backtoTop"), a = $(".container ul"), s = $(".container ul li"); localStorage.removeItem("thisMegaMenu"), e.on("click", function () { localStorage.setItem("thisLink", $(this).text()) }); var l = localStorage.getItem("thisLink"); e.each(function () { l === $(this).text() && $(this).addClass("active") }), $('.banner a[target="_blank"]').attr({ "data-bs-toggle": "modal", "data-bs-target": "#gotowebsite" }), $('a[target="_blank"]').on("click", function () { $(".gotowebsite").attr("href", $(this).attr("href")) }), $(".gotowebsite").on("click", function () { $("#gotowebsite,.modal-backdrop").removeClass("show") }), $("#startButton").on("click", function () { $(this).removeClass("d-md-inline-block"), $("#stopButton").addClass("d-md-inline-block active") }), $("#stopButton").on("click", function () { $(this).removeClass("d-md-inline-block"), $("#startButton").addClass("d-md-inline-block") }), t.on("click", function () { localStorage.setItem("thisMegaMenu", $(this).text()), localStorage.removeItem("thisLink") }); var r = localStorage.getItem("thisMegaMenu"); t.each(function () { r === $(this).text() && ($(this).closest(".megaMenus > ul > li").addClass("current"), $(this).addClass("active")) }); var c = s.length, d = s.outerHeight(); c > 0 && d && (s.last().prependTo(a), a.css("marginTop", -d), setInterval(function () { a.animate({ top: -d }, 600, function () { a.find("li:first-child").appendTo(a), a.css("top", "") }) }, 3e3)), $(".carousel").carousel({ interval: 4e3 }), $("a.close.fs-3").on("click", function (n) { n.stopPropagation(), $(this).parents("li.flex-fill").removeClass("active") }), $("section.megaMenus > ul > li").on("click", function () { $(this).addClass("active") }).on("mouseenter", function () { $(this).addClass("active") }).on("mouseleave", function () { $(this).removeClass("active") }); var u = !1; $(window).on("scroll", function () { u || (window.requestAnimationFrame(function () { $(window).scrollTop() > 300 ? o.fadeIn() : o.fadeOut(), u = !1 }), u = !0) }), $(".clickArrow").on("click", function () { $(this).parent("ul").addClass("m-responsive"), $(".m-responsive button").toggleClass("d-block") }), $(".megaMenus li").on("click", function (n) { n.stopPropagation() }), $("#pills-tab button").on("click", function () { $(".m-responsive button").removeClass("d-block"), $(this).removeClass("d-none"), $("html,body").animate({ scrollTop: 330 }, 100) }); var m = "External website that opens in a new window."; 2 === window.currentCulture && (m = "नवीन विंडोमध्ये उघडणारे बाह्य संकेतस्थळ."), $(".ExternalLinkClick").on("click", function (n) { confirm(m) || (n.preventDefault(), n.stopPropagation()) }), $('.dropdown-menu ul').addClass("submenu dropdown-menu"), $("ul.submenu").prev().addClass("arrow"), $(".dropdown").on("mouseenter", function () { $(this).find(".dropdown-toggle,.dropdown-menu").addClass("show") }).on("mouseleave", function () { $(this).find(".dropdown-toggle,.dropdown-menu").removeClass("show") }), $("#increase_font").on("click", function () { $("#increase_font").addClass("font-resize").removeClass("font-resize-in"), $("#decrease_font,#normal_font").addClass("font-resize-in").removeClass("font-resize"), i.removeClass("smaller medium").addClass("larger") }), $("#decrease_font").on("click", function () { $("#decrease_font").addClass("font-resize").removeClass("font-resize-in"), $("#increase_font,#normal_font").addClass("font-resize-in").removeClass("font-resize"), i.removeClass("larger medium").addClass("smaller") }), $("#normal_font").on("click", function () { $("#normal_font").addClass("font-resize").removeClass("font-resize-in"), $("#decrease_font,#increase_font").addClass("font-resize-in").removeClass("font-resize"), i.removeClass("smaller larger").addClass("medium") }) }); document.addEventListener("DOMContentLoaded", function () { var n = document.getElementById("date-div"), e = document.getElementById("time-div"); if (n && e) { var t = new Date; n.textContent = t.toString().split(" ").slice(1, 4).join(" "), e.textContent = t.toLocaleTimeString() } });
1 var speechSynth = null, speechChunks = [], currentChunkIndex = 0, speaking = !1; document.addEventListener("DOMContentLoaded", function () { speechSynth = window.speechSynthesis; var n = document.getElementById("startButton"), e = document.getElementById("stopButton"); n && n.addEventListener("click", startSpeaking), e && e.addEventListener("click", stopSpeaking) }); function startSpeaking() { var n = document.getElementById("textToSpeak"); if (n && speechSynth) { speechChunks = (n.textContent || "").split(/[.!?]/).filter(function (n) { return "" !== n.trim() }), currentChunkIndex = 0, speakNextChunk() } } function speakNextChunk() { if (speechSynth) if (currentChunkIndex < speechChunks.length) { var n = new SpeechSynthesisUtterance(speechChunks[currentChunkIndex]); n.lang = "hi-IN", n.volume = 1, n.rate = 1, n.pitch = 1, speechSynth.speak(n), speaking = !0, n.onend = function () { currentChunkIndex++, speakNextChunk() } } else speaking = !1 } function stopSpeaking() { speaking && speechSynth && (speechSynth.cancel(), speaking = !1) }

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.