Closed wafer-li closed 6 years ago
Ban on localhost? Are u sure what this is ban? Because i'm not sure, and yes, sounds like very stupid. Reproduce steps please.
There is another example:
You could go to this site http://saili.science/
Then
In this setting, just ban the javascript as below:
Then go back to that site, and refresh.
Cool catch, but this is not called ban. It's called OFF javascript in browser manually and then, yes, motion will may brake all other JS files.
OK, sorry for my poor English.
For now, I just disable the motion to make the site visible when the user turns javascript off.
But it brings a drawback that makes everyone even those with JavaScript Enable cannot see the motion effect.
Added semi-half solution for that issue: d2be4fade1fc6818373463cf3a6e31e82935b453 But it's not recommened to off javascript because at least half of NexT functions will not work without JS (sidebar visible in Gemini/Pisces, sidebar TOC, selected menu item, fotter bottom alignment, some comments, etc.)
For real and 100% strong fix need to add something like warning message to user about disabled javascript and/or add all possible switches to use same features without JS.
I agree and want to create new issue
Expected behavior
Still display content successfully without javascript.
Actual behavior
If I ban the javascript with motion enable, it will result in a blank page.
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
Screenshots:
I know it might sound stupid, obviously you could not use the motion effect without javascript.
But even if the visitor cannot see the the motion effect, it is necessary to display the blog content instead of just making it disappear.