Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forbidden user mouse click event #96

Open
xgqfrms opened this issue Nov 15, 2019 · 2 comments
Open

forbidden user mouse click event #96

xgqfrms opened this issue Nov 15, 2019 · 2 comments

Comments

@xgqfrms
Copy link
Owner

xgqfrms commented Nov 15, 2019

forbidden user mouse click event

https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events

.btn{
  pointer-events: none;
  cursor: not-allowed;
}
@xgqfrms
Copy link
Owner Author

xgqfrms commented Nov 15, 2019

https://github.com/haizlin/fe-interview/issues/1501#issuecomment-554184003

@xgqfrms
Copy link
Owner Author

xgqfrms commented Nov 15, 2019

URL checker

https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer

document.referrer;
// "https://github.com/haizlin/fe-interview/labels/js"

window.location.href;
// "https://github.com/haizlin/fe-interview/issues/1478"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant