Comments (6)
v1.0.8(本周内更新)会暴露filter接口,可以调用屏蔽一些指定的Log。
eruda.get('console').filter(function (log)
{
return !(log.type === 'error' && /deprecated(.|\n)*stringify/.test(log.src.stack));
});
from eruda.
cool!
from eruda.
Console面板的代码重构中,同时增加单元测试,字符串%d%o替换、CSS样式支持、表格输出等新功能及相关接口文档,版本更新推迟。
from eruda.
嗯,没事…… 这边我先绕过了
from eruda.
已更新1.1.0版(相关接口文档更新中),可通过以下方法绕过:
1、设置filter
eruda.get('console').filter(function (log)
{
return !(log.type === 'error' && /deprecated(.|\n)*stringify/.test(log.src.stack));
});
2、禁止访问不可枚举属性
eruda.get('console').config.set('displayUnenumerable', false);
3、禁止访问Getter方法(默认)
eruda.get('console').config.get('displayGetterVal', false);
2、3可以设置面板里手动开启关闭
from eruda.
👍 很棒
from eruda.
Related Issues (20)
- Good
- Counsel does not show accurate logs HOT 1
- Custom theme
- Make backers.svg lazy-loading
- Is there a function to make Eruda immediately show up? HOT 2
- Can't execute js and open eruda on opera gx mobile
- 功能请求:改进对 Set 的支持
- There are 2 patches in this pull request:
- document.write() removes Eruda. HOT 3
- Icon doesn't appear on Android Chrome Mobile Web (physical devices) HOT 1
- uniapp-vue2版本不显示
- How to use
- Something else…
- 有没有插件(浏览器插件.crx)版
- account balance money scanning Iban Sheba IR170120010000003315992937 Bank mellat iranian HOT 1
- addr1v8s37e2swhmkr4t58pm3kz6py723ec3c38hhpc7gqwudkvqnfa6vk
- Eruda doesn't read content inside iframes.
- XHTML5 compliance
- Network tab - copy as cURL with all headers
- 在webview内 内核较低的时候 ,打印会有问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eruda.