如何在cloudant仪表板中更轻松地切换“包含文档”?
目前,只需点击几下即可在cloudant仪表板中切换“include_docs”标志。如果你经常这样做,可能会有点费时 如何加快这个过程?我创建了一个javascript: 当我想打开或关闭“include_docs”时,我只需单击书签工具栏中的此书签即可 注意:我只在firefox上测试过这个如何在cloudant仪表板中更轻松地切换“包含文档”?,cloudant,Cloudant,目前,只需点击几下即可在cloudant仪表板中切换“include_docs”标志。如果你经常这样做,可能会有点费时 如何加快这个过程?我创建了一个javascript: 当我想打开或关闭“include_docs”时,我只需单击书签工具栏中的此书签即可 注意:我只在firefox上测试过这个 javascript:(function(){ if(document.location.toString().contains('include_docs=true')){ docu
javascript:(function(){
if(document.location.toString().contains('include_docs=true')){
document.location=document.location.toString().replace('include_docs=true', '')
} else {
if (document.location.toString.contains('?') {
document.location+='&include_docs=true'
} else {
document.location+='?include_docs=true'
}
}
}())