mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-08-18 23:29:43 +02:00
Remove bottom search on all kbase articles
This commit is contained in:
parent
3e96d16fd5
commit
d1a565b666
@ -5,6 +5,6 @@ let replaceMenubox = ``
|
||||
|
||||
files.forEach(function (file) {
|
||||
var contents = fs.readFileSync(__dirname + '/guid/' + file, 'utf8');
|
||||
const regex = /<div class="brown_box"><div class="inner_brown_box">[\s\S]*?<\/div><\/div>/i;
|
||||
const regex = /<div id="lang">[\s\S]*?<\/div>/i;
|
||||
fs.writeFileSync(__dirname + "/guid/" + file, contents.replace(regex, replaceMenubox));
|
||||
})
|
Loading…
Reference in New Issue
Block a user