mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v1.8.2.1
This commit is contained in:
@@ -30,7 +30,8 @@ public class Swt_app_main {
|
||||
public static void main(String[] args) {
|
||||
// Drag_drop();
|
||||
// List_fonts();
|
||||
keystrokes(args);
|
||||
// keystrokes(args);
|
||||
Permission_denied();
|
||||
}
|
||||
static void Drag_drop() {
|
||||
final Display display = new Display();
|
||||
|
||||
@@ -228,7 +228,9 @@ class Swt_html_lnr_location implements LocationListener {
|
||||
String location = arg.location;
|
||||
if (String_.Eq(location, "about:blank")) return; // location changing event fires once when page is loaded; ignore
|
||||
if ( html_box.Html_doc_html_load_tid() == Gxw_html_load_tid_.Tid_url // navigating to file://page.html will fire location event; ignore if url mode
|
||||
&& String_.HasAtEnd(location, ".html"))
|
||||
&& String_.HasAtBgn(location, "file:")
|
||||
&& String_.HasAtEnd(location, ".html")
|
||||
)
|
||||
return;
|
||||
try {
|
||||
GfoEvMgr_.PubObj(host, evt, "v", location);
|
||||
|
||||
Reference in New Issue
Block a user