Kevin-Ellen
Kevin-Ellen
``` ChromeLauncher Killing Chrome instance 34746 +5ms Runtime error encountered: Waiting for DevTools protocol response has exceeded the allotted time. (Method: Network.emulateNetworkConditions) LHError: PROTOCOL_TIMEOUT at Timeout._onTimeout (/usr/local/lib/node_modules/lighthouse/lighthouse-core/gather/driver.js:352:21) at listOnTimeout (internal/timers.js:551:17)...
Adding `onclick="javascript:return false;"` works too; and can still listen to the link. So my HTML link link as follows: ``` Anchor ``` JavaScript: ``` link.addEventListener('click', function(event){ console.log(event.target.getAttribute('href')); }); ``` Opinions?
Please note that `onclick="doStuff()"` gets sanitised unfortunately.
My 2 pence for what it is worth. In my opinion a 'menu' is slightly redundant in this context, as it is hard to directly link to a specific page...
> Page attachment is a per page component and cant't serve as MENU. Fair enough, and affectively it should not be used as a menu indeed. I was more hinting...
