-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
64 lines (42 loc) · 1.32 KB
/
README
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
Streamline Annotation Browser Plugin
====================================
This is a NPAPI plugin created with FireBreath framework.
It allows you to annotate your browser profiling info with Streamline.
Get FireBreath
==============
http://www.firebreath.org/
Get Streamline anotation header
===============================
You can find the annotation header in your Streamline directory under arm/gator/annotate/
Copy streamline_annotate.h into your streamline-browser-plugin/StreamlineAnnotation/ directory
Make a project
==============
cd firebreath-1.6
mkdir projects
cd projects
cp -r /repo/path/streamline-browser-plugin/StreamlineAnnotation .
Compile the project
===================
cd firebreath-1.6
./prepmake.sh
cd build
make
Plugin path
===========
If everything is went well you can find the plugin at:
build/bin/StreamlineAnnotation
Set plugin search path:
export MOZ_PLUGIN_PATH=/your/plugin/path
Simple page
===========
<html>
<body>
<embed style="width:0px; height:0px;" type="application/x-streamlineannotation" id="plugin">
<script type="text/javascript">
var plugin = document.getElementById("plugin");
plugin.startColorizedAnnotate("green","my stuff");
// do something what you want to annotate
plugin.stopAnnotate();
</script>
</body>
</html>