vr pgecontent = chptervew.fd(”.pge-content”), svefont = core.cooke(”current-font”), currentfont = 1;
vr font = functon(){
//font sze;
vr szes = [”font-norml”, ”fontrge”, ”font-rge”, ”font-xrge”, ”font-xxrge”],
level = szes.length;
return {
set: functon(c){
console.log(szes[currentfont])
pgecontent.toggless( szes[currentfont] + ” ” + szes[c] );
currentfont = c;
core.cooke(”current-font”, c, { expres: 3600 });
core.cooke(”currentfontstrg”, szes[c], { expres: 3600 });
},
crese: functon(){
f( currentfont < level - 1 ) {
ths.set(currentfont + 1)
}
},
descrese: functon(){
f( currentfont > 0 ) {
ths.set( currentfont - 1 );
}
},
dy: functon(){
snght = flse;
body.removess(”nght”);
core.cooke.removecooke(”nght-mode”, {});
},
nght: functon(){
snght = true;
body.ddss(”nght”);
co
本章未完,点击下一页继续阅读。