Forum: EmbDev.net Enhancements with Greasemonkey

Author: anonymous (Guest)
Posted on:

Rate this post
0 useful
not useful
Greasemonkey is a Firefox (FF) extension that runs JavaScript code based 
on URL filters.
- Install Greasemonkey
- Drag script "<file>.user.js" and drop on FF
Scripts can be managed and edited via the Greasemonkey menu.
// ==UserScript==
// @name            mcnet
// @namespace       anonymous
// @version         0.1
// @description     menu fixed to screen in threads
// @include         http://www.mikrocontroller.net/topic/*
// @include         http://mikrocontroller.net/topic/*
// @include         http://www.embdev.net/topic/*
// @include         http://embdev.net/topic/*
// ==/UserScript==

GM_addStyle('.nav-container {position: fixed;}');

I would like to add a search field for the 'articles' (wiki) section 
underneath the menu and add some buttons to assist with writing messages 
(enclose selection with
 for example. Insert special characters..

If you have something to contribute, I suggest just adding the code 
snippets to this thread enclosed in the "pre" tags explained in 
"Formatting options" on the "New post" page.

Author: Guest (Guest)
Posted on:

Rate this post
0 useful
not useful
how do this work?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.