blob: 5f5c3b09af718c48446df4693922ca0204599d06 (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bumblebee: web script synthesizer</title>
<link rel="stylesheet" href="/assets/css/main.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
</head>
<body>
<div id="nav-container" class="container">
<ul id="navlist" class="left">
<li >
<a href="/" class="link-decor-none">hme</a>
</li>
<li >
<a href="/projects/" class="link-decor-none">poc</a>
</li>
<li >
<a href="/about/" class="link-decor-none">abt</a>
</li>
<li>
<a href="/cgi-bin/find.cgi" class="link-decor-none">lup</a>
</li>
<li>
<a href="/feed.xml" class="link-decor-none">rss</a>
</li>
</ul>
</div>
<main>
<div class="container">
<div class="container-2">
<h2 class="center" id="title">BUMBLEBEE: WEB SCRIPT SYNTHESIZER</h2>
<h5 class="center">02 APRIL 2025</h5>
<br>
<div class="twocol justify"><p>Work project. Browser session-to-code conversion.</p>
<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
<source src="bee.mp4" type="video/mp4" />
</video>
<p>Architecture: C# WinForms host, embedded browser, code editor. Browser
extension rejected due to security policy and shallow event control.</p>
<p>Tool evaluation:</p>
<ul>
<li>CefSharp: Discarded. API lacked elegance.</li>
<li>WebView2: Selected. Better WinForms integration. Hard dependency on
Microsoft Edge–acceptable for corporate Windows environments.</li>
</ul>
<p>Implementation:</p>
<ol>
<li>Interception: Injected JS hooks; internal browser event monitoring
(pop-ups/downloads).</li>
<li>Transformation: Event → Token → Instruction Table → String.</li>
<li>Optimization: Parallel event/text lists processing; rendered
in <a href="https://github.com/desjarlais/Scintilla.NET" class="external" target="_blank" rel="noopener noreferrer">Scintilla.NET</a></li>
</ol>
<p>Bug: Manual mid-session overrides desync code/event lists, bypassing optimizer.
Linear lists inadequate for state synchronization. Need to rethink data
structures; look to compiler Abstract Syntax Trees (AST) for intermediate
representation.</p>
<p>Verdict: Serves its purpose.</p>
</div>
<p class="post-author right">by W. D. Sadeep Madurange</p>
</div>
</div>
</main>
<div class="footer">
<div class="container">
<div class="twelve columns right container-2">
<p id="footer-text">© ASCIIMX - 2026</p>
</div>
</div>
</div>
</body>
</html>
|