-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
734 lines (579 loc) · 28.3 KB
/
Copy pathindex.html
File metadata and controls
734 lines (579 loc) · 28.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
<!DOCTYPE html>
<!-- saved from url=(0040)#software -->
<html class="gr__cc_gatech_edu"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="htf-8">
<!-- Bootstrap -->
<link href="./bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91879343-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<body data-gr-c-s-loaded="true">
<script type="text/javascript" src="https://platform.linkedin.com/badges/js/profile.js" async defer></script>
<script src="./jquery.js.download"></script>
<script src="./bootstrap.min.js.download"></script>
<div class="container">
<div class="row">
<div class="span6">
<h1>Rohit Kumar</h1>
</div>
<div class="span6">
<img src="./fnrs.png" style="float:right;" width="20%" alt="">
<img src="./IT4BI-DC_logo.gif" style="float:right;" width="20%" alt=""><br>
</div>
</div>
<div class="navbar" id="home" >
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li class="active"><a href="#home">Home</a></li>
<li><a href="#publications">Publications</a></li>
<li><a href="#software">Software</a></li>
<li><a href="#teaching">Teaching</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#links">Misc</a></li>
</ul>
</div>
</div>
</div>
<div class="row" id="aboutme">
<div class="span10 offset2">
<h3>About Me</h3>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">July 2018 - now</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p class="text-left">Big Data Researcher, <a href="http://www.eurecat.org/">Eurecat</a> </p></li>
<ul>
<li>Working on multiple H2020 project in big data platform.</li>
<li>Contributing to <a href="https://decodeproject.eu/">Decode project</a></li>
<li>Big Data architecture design and data engineering</li>
</ul>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Aug 2014 - June 2018</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p class="text-left"><a href="https://it4bi-dc.ulb.ac.be/user/53">PhD Student</a>, <a href="http://www.ulb.ac.be/">ULB</a> and <a href="http://www.essi.upc.edu/dtim/">UPC </a></p></li>
<ul>
<li>Finshed 1 year research visit in UPC Barcelona Tech.</li>
<li>Funded by FNRS Scholarship</li>
</ul>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">June 2014 - July 2014</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p class="text-left">Software Designer, RBS India Development Center </p></li>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Nov 2007 - June 2014</p>
</div>
<div class="span8">
<ul class="unstyled">
<li><p class="text-left">Assistant Consultant, Tata Consultancy Services <a href="http://www.tcs.com/Pages/default.aspx">(TCS)</a> </p></li>
<li>
<ul>
<li>Technical Team lead (2011-2014) for online assessment platform offered by TCSiON: <a href="https://www.tcsion.com/dotcom/TCSSMB/education/product/digitalassessment.html">Digital Assessment</a></li>
<li>Researcher at TRDDC (2011). Working on data privacy.</li>
<li>Architect and Project Lead (2008-2011) for an Online Assessment platform development.</li>
<li>Teaching Assistant (2007-2009) at <a href"http://ignite.tcs.com/"></a> TCS iGnite. </li>
</ul>
</li>
</ul>
</div>
<div class="span2">
<img src="./me.jpg" class="img-rounded" width="100%">
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Contact </p>
</div>
<div class="span10">
<!-- <img src="img/myemail.png" width="150px" ><br/> -->
<p>rohit4phy AT gmail Dot com </p>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">CV </p>
</div>
<div class="span10">
<p> <a href="./doc/cv.pdf">CV</a></p>
</div>
</div>
<div class="row">
<div class="span10 offset2">
<h3>Research</h3>
<p align="justify">My research focuses on Graph Data stream mining. I work on developing algorithms
for efficient graph stream processing which has application
like Influence Maximization for viral marketing in social data stream.
As part of my PhD, I have worked on supporting distributed graph stream processing on in-memory distributed graph processing systems like GraphX or Giraph. Currently, I am working on NoSQL systems and how to handle massive mobility data on NoSQL systesm.</p>
</div>
</div>
<div class="row" id="publications">
<div class="span10 offset2">
<h3>Selected Publications</h3>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Conference</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p align="justify"><strong>2SCENT: An Efficient Algorithm for Enumerating All Simple Temporal Cycles</strong>.
Rohit Kumar and Toon Calder. Proceedings of the VLDB Endowment <strong> VLDB 11 </strong>, August, 2018, Rio De Janerio, Brazil.
<a href="./doc/2SCENT_full.pdf">[PAPER]</a><a href="./doc/VLDB2018_2SCENT_presentation.pptx">[Presentation]</a><a href="https://github.com/rohit13k/CycleDetection">[Code]</a></p></li>
<li><p align="justify"><strong>Activity-Driven Influence Maximization in Social Networks</strong>. Rohit Kumar, Muhammad Aamir Saleem, Toon Calders, Xike Xie and Torben Bach Pedersen. The European Conference on Machine Learning and Knowledge Discovery in Databases <strong> ECML/PKDD (Nectar Track) </strong>, September 18-22 , 2017, Skopje, Macedonia. <a href="./doc/nectar_ecml_2017.pdf">[PAPER]</a></p></li>
<li><p align="justify"><strong>Cost Model for Pregel on GraphX</strong>. Rohit Kumar, Alberto Abello, and Toon Calders. 21st European Conference on Advances in Databases and Information Systems <strong> ADBIS </strong>, September 24-27 , 2017, Nicosia, Cyprus. <a href="./doc/main_cost_model.pdf">[PAPER]</a><a href="./doc/ADBIS2017_rohit.pptx">[Presentation]</a></p></li>
<li><p align="justify"><strong>Information Propagation in Interaction Networks</strong>. Rohit Kumar and Toon Calders. 20th International Conference on Extending Database Technology <strong> EDBT </strong>, March 21-24, 2017, Venice, Italy. <a href="./doc/paper-108.pdf">[PAPER]</a><a href="https://github.com/rohit13k/InfluencePropagationC">[Code]</a><a href="./doc/EDBTPresentationV2.pptx">[Presentation]</a></p></li>
<li><p align="justify"><strong>Location Influence in Location-based Social Networks</strong>. Muhammad Aamir Saleem, Rohit Kumar, Toon Calders, Xike Xie and Torben Bach Pedersen. Tenth ACM International <strong>WSDM</strong> Conference, 2017, Cambridge. <a href="./doc/LBSN_WSDM.pdf">[PAPER]</a><a href="https://github.com/rohit13k/LBSNAnalysisC">[Code]</a><a href="./doc/wsdm_poster.pdf">[Poster]</a></p></li>
<li><p align="justify"><strong>Maintaining sliding-window neighborhood profiles in interaction networks</strong>. Rohit Kumar, Toon Calders, Aristides Gionis, and Nikolaj Tatti. Joint European Conference on Machine Learning and Knowledge Discovery in Databases (<strong>ECML/PKDD</strong>), 2015, Porto, Portugal. <a href="./doc/swn.pdf">[PAPER]</a><a href="./doc/swn_ppt.pptx">[Presentation]</a><a href="./doc/swn_poster.pdf">[Poster]</a><a href="https://github.com/rohit13k/NeighborhoodProfile">[Code]</a></p></li>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Workshop/Demo</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p align="justify"><strong>Cost Model Based Approach for Graph Partitioning in Spark GraphX</strong>. Rohit Kumar, Alberto Abello, and Toon Calders. Dutch Belgian Database Day 2017 (<strong>DBDBD</strong>) , 2017,Eindhoven, Netherlands. <a href="./doc/DBDBD2017.pdf">[Paper]</a><a href="./doc/DBDBD2017Poster.pdf">[Poster]</a></p></li>
<li><p align="justify"><strong>IMaxer: A Unified System for evaluating Influence Maximization Mechanisms in Location-based Social Networks</strong>. Muhammad Aamir Saleem, Rohit Kumar, Toon Calders, Xike Xie and Torben Bach Pedersen. International Conference on Information and Knowledge Management <strong> CIKM (DEMO) </strong>, November 6-10, 2017, Singapore. <a href="./doc/imax_demo.pdf">[PAPER]</a><a href="https://www.youtube.com/watch?v=hkj6aAfhYkk">[VIDEO]</a></p></li>
<li><p align="justify"><strong>Finding simple temporal cycles in an interaction network</strong>. Rohit Kumar, Toon Calders. The European Conference on Machine Learning and Knowledge Discovery in Databases <strong> ECML/PKDD (Workshop) </strong>, September 18-22 , 2017, Skopje, Macedonia. <a href="./doc/dynamic_cycle.pdf">[PAPER]</a><a href="./doc/ECML2017_workshop.pptx">[Presentation]</a></p></li>
<li><p align="justify"><strong>Time constrained Influence Maximization on temporal network</strong>(Poster presentation only). Rohit Kumar and Toon Calders. Spring Workshop on Mining and Learning 2016 (<strong>SMiLe</strong>) , 2016, Titisee, Germany. <a href="./doc/Smile2016Poster.pdf">[Poster]</a></p></li>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Patents</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><p align="justify"><strong>System and method for automated competency assessment</strong><a href="https://patents.google.com/patent/US8915744B2/en"> (US8915744)</a> </p></li>
<li><p align="justify"><strong>Customized question paper generation </strong><a href="https://patents.google.com/patent/US20130084554A1/en">(US20130084554)</a></p></li>
<li><p align="justify"><strong>Secured Computer Based Assessment </strong> <a href="https://patents.google.com/patent/US20140186812A1/en">(US20140186812A1)</a></p></li>
</ul>
</div>
</div>
<div class="row" id="software">
<div class="span10 offset2">
<h3>Software</h3>
<p align="justify">
IMaxer is a java based web tool. Its a system
that unifies and combines different models and algorithms
for experimenting and evaluating information propagation and
influence maximization techniques in Location based social network.
<a href="https://github.com/rohit13k/iMaxer">[CODE]</a>
</a>
</p>
<p align="justify">
SDSLibrary is scala based stream data structure library which consist of implementation of HyperLogLog, CountMinSketch and Sliding HyperLogLog implementations.
<a href="https://github.com/rohit13k/StreamDataStructureLibrary">[CODE]</a>
</a>
</p>
</div>
</div>
<div class="row" id="teaching">
<div class="span10 offset2">
<h3>Academic Contributions</h3>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Teaching Proffesor </p>
</div>
<div class="span10">
<p>Course in Big data infrastructure for Master in Big Data Solutions, Barcelona Technology School, 2019-2020 </p>
<p>Course in Big data systems for Master in Data Science Fondation, University of Barcelona, 2019-2020 </p>
<p> Python for Data Science Course in Digital Vidya, India 2017-2018 (Online Live)</p>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Teaching Assistant </p>
</div>
<div class="span10">
<p>Data warehouse for IT4BI Masters course in 2014-15 and 2015-16. ULB </p>
</div>
</div>
<div class="row">
<div class="span10 offset2">
<p>Algorithms for TCS ignite trainees in 2008.</p>
<p>Java for TCS ignite trainees in 2008-09.</p>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Reviwer </p>
</div>
<div class="span10">
<p>ICJAI 2020, DSAA 2019, TKDD 2018</p>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">External Reviwer </p>
</div>
<div class="span10">
<p>DASFAA 2017, MEDI 2016, DaWak 2016 </p>
</div>
</div>
<div class="row" id="skills">
<div class="span10 offset2">
<h3>Skills</h3>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Programming </p>
</div>
<div class="span10">
<p>Java, J2EE, Scala, C++(basics), MySQL, Haskel</p>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">HPC </p>
</div>
<div class="span10">
<p> Apache Spark, MongoDB, Oracle Coherence, Hadoop</p>
</div>
</div>
<!-- <div class="row"> -->
<!-- <div class="span2"> -->
<!-- <p class="text-right">Visualization </p> -->
<!-- </div> -->
<!-- <div class="span10"> -->
<!-- <p> D3 Prefuse</p> -->
<!-- </div> -->
<!-- </div> -->
<div class="row" id="links">
<div class="span10 offset2">
<h3>Links</h3>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Academic Links</p>
</div>
<div class="span10">
<ul class="unstyled">
<li><a href="http://www.essi.upc.edu/dtim/">Database Technologies and Information Management Group UPC</a></li>
<li><a href="https://it4bi-dc.ulb.ac.be/">IT4BI- DC</a></li>
<li><a href="http://bdma.univ-tours.fr/bdma/">BDMA</a></li>
<li><a href="http://dbis-group.uni-muenster.de/dbms/templates/conferences/conferences.php">Database Conferences</a></li>
<li><a href="https://twitter.com/rohit13k" class="twitter-follow-button" data-show-count="false">Follow @rohit13k</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></a></li>
</ul>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Linkedin</p>
</div>
<div class="span10">
<div class="LI-profile-badge" data-version="v1" data-size="medium" data-locale="en_US" data-type="horizontal" data-theme="light" data-vanity="rohit13k"><a class="LI-simple-link" href='https://be.linkedin.com/in/rohit13k?trk=profile-badge'>Rohit Kumar</a></div>
</div>
</div>
<div class="row">
<div class="span2">
<p class="text-right">Visitor Count</p>
</div>
<div class="span10">
<a href="https://info.flagcounter.com/hPo7"><img src="https://s11.flagcounter.com/count2/hPo7/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_10/viewers_0/labels_0/pageviews_0/flags_0/percent_0/" alt="Flag Counter" border="0"></a>
</div>
</div>
</div>
</body><script>function inject() {
var originalOpenWndFnKey = "originalOpenFunction";
var originalWindowOpenFn = window.open,
originalCreateElementFn = document.createElement,
originalCreateEventFn = document.createEvent,
windowsWithNames = {};
var timeSinceCreateAElement = 0;
var lastCreatedAElement = null;
var fullScreenOpenTime;
var parentOrigin = (window.location != window.parent.location) ? document.referrer: document.location;
window[originalOpenWndFnKey] = window.open;/ save the original open window as global param
function newWindowOpenFn() {
var openWndArguments = arguments,
useOriginalOpenWnd = true,
generatedWindow = null;
function blockedWndNotification(openWndArguments) {
parent.postMessage({ type: "blockedWindow", args: JSON.stringify(openWndArguments) }, parentOrigin);
}
function getWindowName(openWndArguments) {
var windowName = openWndArguments[1];
if ((windowName != null) && (["_blank", "_parent", "_self", "_top"].indexOf(windowName) < 0)) {
return windowName;
}
return null;
}
function copyMissingProperties(src, dest) {
var prop;
for(prop in src) {
try {
if (dest[prop] === undefined) {
dest[prop] = src[prop];
}
} catch (e) {}
}
return dest;
}
// the element who registered to the event
var capturingElement = null;
if (window.event != null) {
capturingElement = window.event.currentTarget;
}
if (capturingElement == null) {
var caller = openWndArguments.callee;
while ((caller.arguments != null) && (caller.arguments.callee.caller != null)) {
caller = caller.arguments.callee.caller;
}
if ((caller.arguments != null) && (caller.arguments.length > 0) && (caller.arguments[0].currentTarget != null)) {
capturingElement = caller.arguments[0].currentTarget;
}
}
/////////////////////////////////////////////////////////////////////////////////
// Blocked if a click on background element occurred (<body> or document)
/////////////////////////////////////////////////////////////////////////////////
if ((capturingElement != null) && (
(capturingElement instanceof Window) ||
(capturingElement === document) ||
(
(capturingElement.URL != null) && (capturingElement.body != null)
) ||
(
(capturingElement.nodeName != null) && (
(capturingElement.nodeName.toLowerCase() == "body") ||
(capturingElement.nodeName.toLowerCase() == "#document")
)
)
)) {
window.pbreason = "Blocked a new window opened with URL: " + openWndArguments[0] + " because it was triggered by the " + capturingElement.nodeName + " element";
// console.info(window.pbreason);
useOriginalOpenWnd = false;
} else {
useOriginalOpenWnd = true;
}
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
// Block if a full screen was just initiated while opening this url.
/////////////////////////////////////////////////////////////////////////////////
// console.info("fullscreen: " + ((new Date()).getTime() - fullScreenOpenTime));
// console.info("webkitFullscreenElement: " + document.webkitFullscreenElement);
var fullScreenElement = document.webkitFullscreenElement || document.mozFullscreenElement || document.fullscreenElement
if ((((new Date()).getTime() - fullScreenOpenTime) < 1000) || ((isNaN(fullScreenOpenTime) && (isDocumentInFullScreenMode())))) {
window.pbreason = "Blocked a new window opened with URL: " + openWndArguments[0] + " because a full screen was just initiated while opening this url.";
// console.info(window.pbreason);
/* JRA REMOVED
if (window[script_params.fullScreenFnKey]) {
window.clearTimeout(window[script_params.fullScreenFnKey]);
}
*/
if (document.exitFullscreen) {
document.exitFullscreen();
}
else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
}
else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
useOriginalOpenWnd = false;
}
/////////////////////////////////////////////////////////////////////////////////
if (useOriginalOpenWnd == true) {
// console.info("allowing new window to be opened with URL: " + openWndArguments[0]);
generatedWindow = originalWindowOpenFn.apply(this, openWndArguments);
// save the window by name, for latter use.
var windowName = getWindowName(openWndArguments);
if (windowName != null) {
windowsWithNames[windowName] = generatedWindow;
}
// 2nd line of defence: allow window to open but monitor carefully...
/////////////////////////////////////////////////////////////////////////////////
// Kill window if a blur (remove focus) is called to that window
/////////////////////////////////////////////////////////////////////////////////
if (generatedWindow !== window) {
var openTime = (new Date()).getTime();
var originalWndBlurFn = generatedWindow.blur;
generatedWindow.blur = function() {
if (((new Date()).getTime() - openTime) < 1000* one second */) {
window.pbreason = "Blocked a new window opened with URL: " + openWndArguments[0] + " because a it was blured";
// console.info(window.pbreason);
generatedWindow.close();
blockedWndNotification(openWndArguments);
} else {
// console.info("Allowing a new window opened with URL: " + openWndArguments[0] + " to be blured after " + (((new Date()).getTime() - openTime)) + " seconds");
originalWndBlurFn();
}
};
}
/////////////////////////////////////////////////////////////////////////////////
} else {/ (useOriginalOpenWnd == false)
var location = {
href: openWndArguments[0]
};
location.replace = function(url) {
location.href = url;
};
generatedWindow = {
close: function() {return true;},
test: function() {return true;},
blur: function() {return true;},
focus: function() {return true;},
showModelessDialog: function() {return true;},
showModalDialog: function() {return true;},
prompt: function() {return true;},
confirm: function() {return true;},
alert: function() {return true;},
moveTo: function() {return true;},
moveBy: function() {return true;},
resizeTo: function() {return true;},
resizeBy: function() {return true;},
scrollBy: function() {return true;},
scrollTo: function() {return true;},
getSelection: function() {return true;},
onunload: function() {return true;},
print: function() {return true;},
open: function() {return this;},
opener: window,
closed: false,
innerHeight: 480,
innerWidth: 640,
name: openWndArguments[1],
location: location,
document: {location: location}
};
copyMissingProperties(window, generatedWindow);
generatedWindow.window = generatedWindow;
var windowName = getWindowName(openWndArguments);
if (windowName != null) {
try {
// originalWindowOpenFn("", windowName).close();
windowsWithNames[windowName].close();
// console.info("Closed window with the following name: " + windowName);
} catch (err) {
// console.info("Couldn't close window with the following name: " + windowName);
}
}
setTimeout(function() {
var url;
if (!(generatedWindow.location instanceof Object)) {
url = generatedWindow.location;
} else if (!(generatedWindow.document.location instanceof Object)) {
url = generatedWindow.document.location;
} else if (location.href != null) {
url = location.href;
} else {
url = openWndArguments[0];
}
openWndArguments[0] = url;
blockedWndNotification(openWndArguments);
}, 100);
}
return generatedWindow;
}
/////////////////////////////////////////////////////////////////////////////////
// Replace the window open method with Poper Blocker's
/////////////////////////////////////////////////////////////////////////////////
window.open = function() {
try {
return newWindowOpenFn.apply(this, arguments);
} catch(err) {
return null;
}
};
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////
// Monitor dynamic html element creation to prevent generating <a> elements with click dispatching event
//////////////////////////////////////////////////////////////////////////////////////////////////////////
document.createElement = function() {
var newElement = originalCreateElementFn.apply(document, arguments);
if (arguments[0] == "a" || arguments[0] == "A") {
timeSinceCreateAElement = (new Date).getTime();
var originalDispatchEventFn = newElement.dispatchEvent;
newElement.dispatchEvent = function(event) {
if (event.type != null && (("" + event.type).toLocaleLowerCase() == "click")) {
window.pbreason = "blocked due to an explicit dispatchEvent event with type 'click' on an 'a' tag";
// console.info(window.pbreason);
parent.postMessage({type:"blockedWindow", args: JSON.stringify({"0": newElement.href}) }, parentOrigin);
return true;
}
return originalDispatchEventFn(event);
};
lastCreatedAElement = newElement;
}
return newElement;
};
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
// Block artificial mouse click on frashly created <a> elements
/////////////////////////////////////////////////////////////////////////////////
document.createEvent = function() {
try {
if ((arguments[0].toLowerCase().indexOf("mouse") >= 0) && ((new Date).getTime() - timeSinceCreateAElement) <= 50) {
window.pbreason = "Blocked because 'a' element was recently created and " + arguments[0] + " event was created shortly after";
// console.info(window.pbreason);
arguments[0] = lastCreatedAElement.href;
parent.postMessage({ type: "blockedWindow", args: JSON.stringify({"0": lastCreatedAElement.href}) }, parentOrigin);
return null;
}
return originalCreateEventFn.apply(document, arguments);
} catch(err) {}
};
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
// Monitor full screen requests
/////////////////////////////////////////////////////////////////////////////////
function onFullScreen(isInFullScreenMode) {
if (isInFullScreenMode) {
fullScreenOpenTime = (new Date()).getTime();
// console.info("fullScreenOpenTime = " + fullScreenOpenTime);
} else {
fullScreenOpenTime = NaN;
}
};
/////////////////////////////////////////////////////////////////////////////////
function isDocumentInFullScreenMode() {
// Note that the browser fullscreen (triggered by short keys) might
// be considered different from content fullscreen when expecting a boolean
return ((document.fullScreenElement && document.fullScreenElement !== null) || / alternative standard methods
((document.mozFullscreenElement != null) || (document.webkitFullscreenElement != null))); / current working methods
}
document.addEventListener("fullscreenchange", function () {
onFullScreen(document.fullscreen);
}, false);
document.addEventListener("mozfullscreenchange", function () {
onFullScreen(document.mozFullScreen);
}, false);
document.addEventListener("webkitfullscreenchange", function () {
onFullScreen(document.webkitIsFullScreen);
}, false);
} inject()</script><span class="gr__tooltip"><span class="gr__tooltip-content"></span><i class="gr__tooltip-logo"></i><span class="gr__triangle"></span></span></html>