Archive for script

jQuery Chosen fork

// januari 16th, 2012 // No Comments » // Development, Javascript, jQuery, plugin, script

Today I forked the jQuery plugin Chosen. The original code used some dirty code to show and hide the list-items and there were some additional options I added. Now it’s possible to specify if you want to hide or show the search field (default its off) and if you want the search function to look for you query string at the beginning of the list-item label, or wherever.

If you’re using Chosen in combination with SpModal, it’s now possible to have the Chosen list come out of the modal window, using this style:

<style>
#sp-modal-container { overflow: visible !important; }
#select_pln_chzn { position: absolute; }
</style>

Chosen + SimpleModal

search_enabled and search_at_start pretty much speak for themself.

Fork: https://github.com/klaascuvelier/chosen

Facebook Like-button on Netlog

// mei 3rd, 2010 // No Comments » // Cuvedev, Development, Facebook, Greasemonkey, Netlog, script, Userscript

I just finished another userscript/greasemonkey script for Netlog.
Since Facebook made their ‘like’ button public, I thought it would be a nice idea, to share your favorite photos, links, videos and blogs from Netlog, on facebook.
This might direct more visitors to Netlog, and some may even be convinced to register.

Download below. Watch out, it’s still in beta.
One known bug is that the script doesn’t really work together with the ajax photo browsing.

Note, make sure your Netlog profile and the item you’re liking is accessible when not logged-in (otherwise Facebook can’t handle it)

Screenshots:








Tested on Firefox 3.6.3 and Chrome 5.0.375.28 dev
Note: Firefox users need the Greasemonkey plugin!

Enjoy!

Download:
netlog_like.user.js (0.4, beta)

UPDATE:
Newer version available

Thx to Jochen Delabie and Oemebamo for the remarks

Boxee StuBru Plugin

// april 5th, 2010 // No Comments » // Cuvedev, script

So … I finally finished my first Boxee plugin. Funny tough, it’s non of my previously planned plugins.
Today I got the inspiration to make ¬†a small but handy plugin. Studio Brussel was airing “De zwaarste lijst”, a list of hard rock and metal music tonight, and I thought it would nice to listen to it with Boxee because it uses my Logitech Z-5500. ‘Nuff said right?

So here it is. It’s extremely basic, but it does what it was supposed to do, play stubru music.
Download and enjoy!

Download my stubru boxee plugin

Tested on Boxee Beta for OSX and Ubuntu.

Netlog static header

// maart 18th, 2010 // 3 Comments » // Cuvedev, Netlog, script

Since the Netlog chatbar disappeared from the bottom of the screen, there’s no easy way to quickly navigate to another page or add content or whatever when you’re not at the top of the page.
If only the current header would be static …

With this userscript it is:
Click to install: netlog_topbar_1.1.user.js (latest version)
Click to install: netlog_topbar.user.js (older version)

UPDATE:
Newer version available

Tested in Firefox 3.6 and Chromium 5.0

Update:
A new version is out (v1.1).

Changes:
- In this version the new tabs in People and Logs are visible.
- There’s a Netlog version check. The header isn’t static in v4, only in v5.
- This version also works better with MagicDebug

Smiliescript

// juli 18th, 2008 // No Comments » // Cuvedev, download, script

Dit is een scriptje dat ik geschreven heb om snel je favoriete smilies te kunnen gebruiken verschillende fora.
Oorspronkelijk had ik dit gemaakt voor e-programmeur maar nu wordt het hoofdzakelijk gebruikt op ep2.

Om dit script te kunnen gebruiken moet je beschikken over Firefox en de GreaseMonkey-plugin.

De eerste versie van dit script plaatst gewoon een extra balk met smilies boven iedere textarea op het scherm, als je op een smilie klikt wordt er een stukje bb-code in de textarea geplaatst (link naar de afbeelding tussen img-tags). De smilie werd achteraan de tekst bijgevoegd.

Bij de tweede versie wordt de smilie ingevoegd op de plaats waar de cursor staat. Ook wordt de balk slechts bij één of meerdere specifieke textareas geplaatst. (Dat moet je opgeven de source).
De volgorde van de smilies is ook lichtjes gewijzigd.

Update versie naar 2.1 (beta), omdat sommige personen (waaronder ik) het probleempje hadden dat sommige smilies soms niet werden getoond heb ik een kleine aanpassing gedaan. Dit probleem zou nu moeten verholpen zijn in deze versie.

Download:
quickicon.user.js versie 1
quickicon.user.js versie 2
quickicon.user.js versie 2.1 beta