PageSourceSearch

https://www.tutorela.com/sites/all/modules/limudnaim_teacher/js/limudnaim_teacher_share.js?D

js tutorela.com collected 2026-09-26 17:43:56 UTC 851 bytes, 19 lines download raw bytes

1window.limudnaim = window.limudnaim || {};
2window.limudnaim.isMobile = function() {
3  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
4};
5window.limudnaim.share = {
6  whatsapp: function (text) {
7    var sub = limudnaim.isMobile() ? 'api' : 'web';
8    window.open('https://' + sub + '.whatsapp.com/send?text=' + encodeURIComponent(text), '_whatsapp');
9  },
10  facebook: function (url, title) {
11    window.open('https://www.facebook.com/sharer.php?u=' + encodeURIComponent(url) + (title ? '&title=' + encodeURIComponent(title) : '') , '_facebook')
12  },
13  mail: function (subject, body) {
14    location = ('mailto:?to=&subject=' + encodeURIComponent(subject) + (body ? '&body=' + encodeURIComponent(body) : ''))
15  },
16  sms: function (body) {
17    location = ('sms:?body=' + encodeURIComponent(body))
18  }
19};

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.