Enhancements with Greasemonkey

Guest #1406585
Rate this post
• ▲ 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.
1
// ==UserScript==
2
// @name            mcnet
3
// @namespace       anonymous
4
// @version         0.1
5
// @description     menu fixed to screen in threads
6
// @include         http://www.mikrocontroller.net/topic/*
7
// @include         http://mikrocontroller.net/topic/*
8
// @include         http://www.embdev.net/topic/*
9
// @include         http://embdev.net/topic/*
10
// ==/UserScript==
11

12
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
1
[c][/c]
 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.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.