firefox - clear up GM_log from error console -


Is there a way to clean GM_log messages from the error console with the user code on a certain event?

I do not want to clean manually. On the triggers of some events, you want to clear the old log from the error console and want to show the new logs.

You can not clarify. If you can, bad websites can also clean it and erase the records of your crimes.

You should not use GM_Log ()

Then, you can console.clear () .

, note that to avoid conflict with the new console functions of Firefox, and to ensure that the output appears in the Firebug console, you will see < A call prefix may be required with the code> unsecured wydov .

So your script can do something like this: Unsecured Window.console.clear (); Unsafe Window.console.time ('ScriptRun'); Unsafe Window.console.log ("Start Script."); Unsafe Window.console.timeEnd ('ScriptRun');


What looks like in this firebug console:
console </ P> </ p> </ p> </ p> </ p> </ p> <p> - </ p> </ p> <p> - </ p> </ p> <p> Div> </ html><br /><br /> 
</div>
<div class='post-bottom'>
<div class='post-footer float-container'>
<div class='post-footer-line post-footer-line-1'>
</div>
<div class='post-footer-line post-footer-line-2'>
</div>
<div class='post-footer-line post-footer-line-3'>
</div>
</div>
<div class='post-share-buttons post-share-buttons-bottom invisible'>
<div class='byline post-share-buttons goog-inline-block'>
<div aria-owns='sharing-popup-Blog1-byline-5374497446207385792' class='sharing' data-title='firefox - clear up GM_log from error console -'>
<button aria-controls='sharing-popup-Blog1-byline-5374497446207385792' aria-label='Share' class='sharing-button touch-icon-button' id='sharing-button-Blog1-byline-5374497446207385792' role='button'>
<div class='flat-icon-button ripple'>
<svg class='svg-icon-24'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_share_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
</div>
</button>
<div class='share-buttons-container'>
<ul aria-hidden='true' aria-label='Share' class='share-buttons hidden' id='sharing-popup-Blog1-byline-5374497446207385792' role='menu'>
<li>
<span aria-label='Get link' class='sharing-platform-button sharing-element-link' data-href='https://www.blogger.com/share-post.g?blogID=5865507850187277775&postID=5374497446207385792&target=' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Get link'>
<svg class='svg-icon-24 touch-icon sharing-link'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_link_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Get link</span>
</span>
</li>
<li>
<span aria-label='Share to Facebook' class='sharing-platform-button sharing-element-facebook' data-href='https://www.blogger.com/share-post.g?blogID=5865507850187277775&postID=5374497446207385792&target=facebook' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Share to Facebook'>
<svg class='svg-icon-24 touch-icon sharing-facebook'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_facebook_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Facebook</span>
</span>
</li>
<li>
<span aria-label='Share to X' class='sharing-platform-button sharing-element-twitter' data-href='https://www.blogger.com/share-post.g?blogID=5865507850187277775&postID=5374497446207385792&target=twitter' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Share to X'>
<svg class='svg-icon-24 touch-icon sharing-twitter'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_twitter_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>X</span>
</span>
</li>
<li>
<span aria-label='Share to Pinterest' class='sharing-platform-button sharing-element-pinterest' data-href='https://www.blogger.com/share-post.g?blogID=5865507850187277775&postID=5374497446207385792&target=pinterest' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Share to Pinterest'>
<svg class='svg-icon-24 touch-icon sharing-pinterest'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_pinterest_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Pinterest</span>
</span>
</li>
<li>
<span aria-label='Email' class='sharing-platform-button sharing-element-email' data-href='https://www.blogger.com/share-post.g?blogID=5865507850187277775&postID=5374497446207385792&target=email' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Email'>
<svg class='svg-icon-24 touch-icon sharing-email'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_24_email_dark' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Email</span>
</span>
</li>
<li aria-hidden='true' class='hidden'>
<span aria-label='Share to other apps' class='sharing-platform-button sharing-element-other' data-url='http://parthcode121.blogspot.com/2011/03/firefox-clear-up-gmlog-from-error.html?m=1' role='menuitem' tabindex='-1' title='Share to other apps'>
<svg class='svg-icon-24 touch-icon sharing-sharingOther'>
<use xlink:href='/responsive/sprite_v1_6.css.svg#ic_more_horiz_black_24dp' xmlns:xlink='http://www.w3.org/1999/xlink'></use>
</svg>
<span class='platform-sharing-text'>Other Apps</span>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>

<script async src=

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -