PageSourceSearch

https://quelle-est-cette-fleur.com/js/plugins.js

js quelle-est-cette-fleur.com collected 2026-09-25 06:22:41 UTC 2,423 bytes, 93 lines download raw bytes

1/*
2Plugin Name: 	scrollToTop for jQuery.
3Written by: 	Crivos - (http://www.crivos.com)
4Version: 		0.1
5*/
6
7(function($) {
8	$.extend({
9
10		scrollToTop: function() {
11
12			var _isScrolling = false;
13
14			// Append Button
15			$("body").append($("<a />")
16							.addClass("scroll-to-top")
17							.attr({
18								"href": "#",
19								"id": "scrollToTop"
20							})
21							.append(
22								$("<i/>")
23									.addClass("fa fa-chevron-up icon-white")
24							));
25	
26			$("#scrollToTop").click(function(e) {
27
28				e.preventDefault();
29				$("body, html").animate({scrollTop : 0}, 500);
30				return false;
31
32			});
33
34			// Show/Hide Button on Window Scroll event.
35			$(window).scroll(function() {
36
37				if(!_isScrolling) {
38
39					_isScrolling = true;
40
41					if($(window).scrollTop() > 150) {
42
43						$("#scrollToTop").stop(true, true).addClass("visible");
44						_isScrolling = false;
45
46					} else {
47
48						$("#scrollToTop").stop(true, true).removeClass("visible");
49						_isScrolling = false;
50
51					}
52
53				}
54
55			});
56
57		}
58
59	});
60})(jQuery);
61
62/*
63Plugin Name: 	BrowserSelector
64Written by: 	Crivos - (http://www.crivos.com)
65Version: 		0.1
66*/
67
68(function($) {
69	$.extend({
70
71		browserSelector: function() {
72
73			var u = navigator.userAgent,
74				ua = u.toLowerCase(),
75				is = function (t) {
76					return ua.indexOf(t) > -1;
77				},
78				g = 'gecko',
79				w = 'webkit',
80				s = 'safari',
81				o = 'opera',
82				h = document.documentElement,
83				b = [(!(/opera|webtv/i.test(ua)) && /msie\s(\d)/.test(ua)) ? ('ie ie' + parseFloat(navigator.appVersion.split("MSIE")[1])) : is('firefox/2') ? g + ' ff2' : is('firefox/3.5') ? g + ' ff3 ff3_5' : is('firefox/3') ? g + ' ff3' : is('gecko/') ? g : is('opera') ? o + (/version\/(\d+)/.test(ua) ? ' ' + o + RegExp.jQuery1 : (/opera(\s|\/)(\d+)/.test(ua) ? ' ' + o + RegExp.jQuery2 : '')) : is('konqueror') ? 'konqueror' : is('chrome') ? w + ' chrome' : is('iron') ? w + ' iron' : is('applewebkit/') ? w + ' ' + s + (/version\/(\d+)/.test(ua) ? ' ' + s + RegExp.jQuery1 : '') : is('mozilla/') ? g : '', is('j2me') ? 'mobile' : is('iphone') ? 'iphone' : is('ipod') ? 'ipod' : is('mac') ? 'mac' : is('darwin') ? 'mac' : is('webtv') ? 'webtv' : is('win') ? 'win' : is('freebsd') ? 'freebsd' : (is('x11') || is('linux')) ? 'linux' : '', 'js'];
84
85			c = b.join(' ');
86			h.className += ' ' + c;
87
88			$("html").addClass(c);
89
90		}
91
92	});
93})(jQuery);

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.