I was able to eliminate the errors, at least for several edge testing sessions,
with this change:
~Addons/ide/jhs/jijx.ijs
function linkclick(a)
{
w=window.open("",a);
w.close();
window.open(a,a);
}
=>
function linkclick(a)
{
// w=window.open("",a);
// w.close();
window.open(a,a);
return false;
}
I am not certain if the commented lines are needed in other browsers. I tried
Firefox and IE and the change seemed to work ok with them.
David
On 11/23/2019 22:39, Kirk Iverson wrote:
For unrelated reasons I upgraded my Win10 box (Home edition) from 1809 to the
latest 1909 version, and thought I'd give this another try. I started getting
intermittent errors when trying to open items under JHS' help menu.
I run AdBlocker Ultimate -- I went into the "..." menu, Extensions, turned off
AdBlocker from there, and restarted Edge. I haven't been able to reproduce the problem
since.
Note that just disabling it for the jijx page itself didn't help -- the entire
extension had to be disabled. Also, I don't run any other extensions. (In case
the problem is related to extensions in general, rather than an ad blocker
specifically).
Some other observations:
- For me the problem was intermittent, but often (about a 50:50 hit).
- The error message appears unrelated to whatever is going on. (I received a "The
object invoked has disconnected from its clients" error at least once, in addition
to the errors you reported).
- It might be sensitive to timing. I found putting a breakpoint on the
window.open(a,a) line always seemed to work once I let the javascript continue.
- I tried isolating linkclick() in a simple web page, but was unable to
reproduce the problem there.
/K
On Nov 23, 2019, at 9:51 AM, Raul Miller <[email protected]> wrote:
(I'm not quite sure which forum is right for this kind of issue...)
I've installed j 9 on a windows 10 system.
Under microsoft edge, most of the Help menu entries are failing for
me, with popup notifications like:
ev_helpwikijhs_click failed: Error: Not implemented
or
ev_helpwikinuvoc_click failed: Error: No such interface supported
If I enable script debugging, and enable breakpoints on caught
exceptions, I see that both errors happen on window.open(a,a) (line
1202 of jijx).
So... this is an edge issue and possibly a configuration issue. And I
guess I'm looking to figure out if anyone knows about how to configure
edge for this?
That said, it might be reasonable to put that "function linkclick"
window.open in a try/catch that just emits an appropriate <a href= to
the console for the catch handler? (Or, maybe better to make that a
config option? In case others want that behavior...?)
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm