Tampermonkey HelloWorld and create menuCommand

Today, i need write one script with tampermonkey. It is very hard :(.
To write helloworld. Create new script.
Edit config: Add
// @connect      *
// @match        http://*/*
// @match        https://*/*
You can edit author, homepage, etc..
Add your code in main code in comment. I used console.log()
 This is result:
I need create button in menu, so i used:
Edit config, remove grant none and add: // @grant        GM_registerMenuCommand

You will see new menu button in tamper monkey.
----------------------------------------------------------
Thanks for reading
--------------------------------------------------------------------------
Security Research
SecurityLab - Linux Lab -- Window and Cisco Lab
to be continued - I will update more.

Comments

Popular posts from this blog

Python - Multithread to read one file

Install Xposed Inspector and Frida on Genymotion

OpenCA tutorial