Skip to content

Commit 014c0ed

Browse files
committed
add a note about NoScript's ABE, small fix
1 parent 45fa471 commit 014c0ed

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bookmarklet.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ <h1>html2canvas Bookmarklet</h1>
4242
click / tap that link and then bookmark the page, edit the bookmark and remove the start up until including <code>#_remove_this_</code>
4343
part at the beginning of the URL, it must start with: <code>javascript:</code> to be correct.
4444
</p>
45+
<p>
46+
If you are using Firefox and the NoScript Addon: disable the ABE part of it,
47+
took me quite some time to figure out that the reason for an unreliable bookmarklet was in NoScript...
48+
</p>
4549
<h2>For Developers:</h2>
4650
<p>
4751
If you are a developer and want to debug locally (you need the source tree of your html2canvas at:

src/plugins/bookmarklet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
statusline.style.border = '1px solid black';
6969
statusline.style.borderBottomWidth = '0px';
7070
statusline.style.padding = '2px 5px';
71+
statusline.style.zIndex = 9999999;
7172
document.body.appendChild(statusline);
7273
loader.onload();
7374
}());

0 commit comments

Comments
 (0)