sne*_*awo 14 javascript phantomjs
我想从第一页删除标题,我将标题定义为:
header = {
height: header_height,
contents: phantom.callback(function(pageNum, numPages) {
if(pageNum == 1) {
return "";
}
return header_contents;
})
};
Run Code Online (Sandbox Code Playgroud)
但它带来了空头边缘header_height.有没有办法设置header.height=0第一页?