去除单标签页播放限制、顺序观看限制、考试页面复制粘贴限制
< 脚本电信网上大学自由学的反馈
参考了你的removeVideoLock函数,非常感谢。不过章节顺序限制应该是由window.app._modules['study/course/detail--???'].store.models.course.data.courseChapters[?].learnSequence控制的,把这个置为null才可以解除顺序限制,里面的应该只是控制显示锁定。let id = Object.keys(window.app._modules).find(value => value.startsWith('study/course/detail--'));window.app._modules[id].store.models.course.data.courseChapters.forEach(function(Chapter){ if(Chapter.learnSequence) Chapter.learnSequence = null;});
登录以发表回复。
参考了你的removeVideoLock函数,非常感谢。
不过章节顺序限制应该是由window.app._modules['study/course/detail--???'].store.models.course.data.courseChapters[?].learnSequence控制的,把这个置为null才可以解除顺序限制,里面的应该只是控制显示锁定。
let id = Object.keys(window.app._modules).find(value => value.startsWith('study/course/detail--'));
window.app._modules[id].store.models.course.data.courseChapters.forEach(function(Chapter){
if(Chapter.learnSequence) Chapter.learnSequence = null;
});