mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 08:37:11 +02:00
Safari update link and minor popup improvement
This commit is contained in:
parent
90b8ddf404
commit
0acb14c5a0
@ -14,7 +14,7 @@
|
||||
<key>CFBundleVersion</key>
|
||||
<string>{buildNumber}</string>
|
||||
<key>URL</key>
|
||||
<string>https://chrismatic.io/ublock/ublock-0.8.6.0.safariextz</string>
|
||||
<string>https://chrismatic.io/ublock/ublock-latest.safariextz</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
|
@ -431,8 +431,11 @@
|
||||
|
||||
// reload the popup when that is opened
|
||||
safari.application.addEventListener('popover', function(e) {
|
||||
e.target.contentWindow.document.body.textContent = '';
|
||||
e.target.contentWindow.location.reload();
|
||||
var w = e.target.contentWindow, body = w.document.body, child;
|
||||
while(child = body.firstChild) {
|
||||
body.removeChild(child);
|
||||
}
|
||||
w.location.reload();
|
||||
}, true);
|
||||
|
||||
/******************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user