Greasemonkey is an userscript manager that let's users manipulate any web page before or after it is loaded on browsers. It is available as an extension in browsers.
https://en.wikipedia.org/wiki/Greasemonkey
In short, it runs custom piece of code on any websites.
In SPOJ problem page, there's problem-tag, which is really helpful but not always. The same thing with auto showed comment table. Most of the time while scrolling, I see hints that I do not want to read unless I am stuck.
So, to rectify the situation, I wrote a few lines of javascript to hide the problem-tag and comment table. I also wrote another line to select CPP as the default language in the solution submission form.
Setup: Greasemonkey for Firefox or Tampermonkey for Chrome
Then go to New User Script & copy-paste the code.
That's it.
https://en.wikipedia.org/wiki/Greasemonkey
In short, it runs custom piece of code on any websites.
In SPOJ problem page, there's problem-tag, which is really helpful but not always. The same thing with auto showed comment table. Most of the time while scrolling, I see hints that I do not want to read unless I am stuck.
So, to rectify the situation, I wrote a few lines of javascript to hide the problem-tag and comment table. I also wrote another line to select CPP as the default language in the solution submission form.
Setup: Greasemonkey for Firefox or Tampermonkey for Chrome
Then go to New User Script & copy-paste the code.
That's it.
Comments
Post a Comment