-
Notifications
You must be signed in to change notification settings - Fork 100
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
Hints doesn't work on Archlinux Security page. #531
Comments
@0a-a Thank you for reporting this issue. I can reproduce this. The hint-labels are kept as |
Seams that there's same or similar issue with https://pypi.org |
Yes, this seems to be the same issue with the Content-Security-Policy. The issue can be checked also by opening webinspector and running some JS
There is shown an error in webinspector like "Refused to apply a stylesheet |
I don't think we can do anything to bypass this securoty mechanism. OK we could, by removing the CSP headers before they are processed by webkit. But I don't want to remove this extra pice of security. |
The styling by elements style attribute might be forbidden by Content-Security-Policy restrictions. But positioning of the elements by the elements style object seems to work.
I've change the JS logik to consequently use the elements style object to position and style them instead of the style attribute. I thought both where only two ways to make the same, but they are different, like we can see now. |
Steps to reproduce
f
,;x
,;o
, etc)Expected behaviour
Elements get highlighted and the keyhints show up
Highlight work, but no keyhints show up.
Actual behaviour
Was the same with vimb version 3.2.
The text was updated successfully, but these errors were encountered: