The Joomla! Extensions Directory ™


Custom JS Code ComponentPlugin

Custom JS Code lets you setup multiple rules to add some custom JavaScript to your site.

You can

- add some JavaScript on a specific URL
- add some JavaScript to URLs that contain a string
- add some JavaScript to URLs that don't contain a string

Basically, you can have different JavaScript snippets on each page of your site. The Javascript will be added after all the component / modules Javascript files have been loaded, so you can re-use the existing libraries loaded on the site.

Examples of what can it be used for:

- Don't allow right-click on some parts of the site, or all the site
- Add an alert when opening an article
- Show a welcome message to the users
- Show some images in a modal window
- Fade in the content or the images when the page is loaded
- Process some link with an AJAX request and return the result somewhere on the page

Report Extension

 

Images

 

2013-03-04
Reviews: 9
Just what I was looking for - I wanted to be able to add specific javascript to pages of my site and this is exactly what this extension claimed it could do.

I have had no problems with it so far - it does exactly what I wanted and I'm very pleased. No installation issues, no conflicts, etc.