You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's very frustrating to have the code you linted and started to fix vanish in thin air when you click a link because it doesn't open in a new tab.
Describe the solution you'd like
My suggestion is using target="_blank" on all external links on JSLint or at least just on the linting page. See When to use target=”_blank” for a more in depth guide and reasoning.
Describe alternatives you've considered
An alternative would be just Ctrl/Cmd clicking every line, but that is tedious.
One other option is adding a unsaved changes dialog:
window.addEventListener("beforeunload",function(e){varconfirmationMessage='It looks like you have been editing something. '+'If you leave before saving, your changes will be lost.';(e||window.event).returnValue=confirmationMessage;//Gecko + IEreturnconfirmationMessage;//Gecko + Webkit, Safari, Chrome etc.});
Is your feature request related to a problem? Please describe.
It's very frustrating to have the code you linted and started to fix vanish in thin air when you click a link because it doesn't open in a new tab.
Describe the solution you'd like
My suggestion is using
target="_blank"
on all external links on JSLint or at least just on the linting page. See When to use target=”_blank” for a more in depth guide and reasoning.Describe alternatives you've considered
An alternative would be just Ctrl/Cmd clicking every line, but that is tedious.
One other option is adding a unsaved changes dialog:
code for unsaved warning
The text was updated successfully, but these errors were encountered: