在fullpage.js文件里搜索licenseKey,删除!不会对程序造成任何影响,后面还有个else。把else这四个字母也删掉。
//测试有效
if(!isOK){
showError('error', 'Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:');
showError('error', 'https://github.com/alvarotrigo/fullPage.js#options.');
}
再加载 fullpage的时候,如果英文版本看不懂,可以看这个连接http://fullpage.81hu.com/
js代码在线美化工具:https://beautifier.io/
主要是为了方便看,使用这个工具,可以自动加上空格换行等。