Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleConfluence Apps

Confluence allows to create and install apps to add additional functions for Confluence. These apps may provide userscripts and configure them to execute in specific contexts.

Basically the userscripts written for Userscripts for Confluence can be easily adapted, bundled in an app and deployed by the Confluence administration team. From the users' view the result would not be any different as the approach with the Userscripts for Confluence app.

The advantage of Userscripts for Confluence would be that it is more lightweight. The administration of the userscripts is only dependent on the code and does not require an additional project, knowledge of app development, including Maven as a build management tool etc. It may also be considered easier to activate individual scripts, although this could be realized by putting a single JavaScript in each app.


Section
titleConfluence Configuration

JavaScript can also be added to a page via configuration via Custom HTML (Confluence Administration) to a page. You may also include JavaScript via User Macros or the HTML Macro.


Section
titleSummary

Experienced users may be best served by classic userscripts or bookmarklets. This way they are in full control over which code to execute under which circumstances.

For unexperienced users it is probably easier to allow the administration team to provide the additional services by central installation. The burden of selecting the tools, checking the code for security and other issues, and updating the code for new versions or due to alteration of the Conflunce Confluence server is then located on the administration team. The administration team may choose between a simple app like Userscripts for Confluence or choose to create one or more projects to provide these additional features by their own app.

...

Section
titleResources
intro-textMore information on this topic is available by the following resources.


Tour
render-no-hits-as-blanktrue
render-as-definition-listtrue
marker-column-property-nameTitle
replace-title-with-nametrue


TitleShort Description

System Link
fileUserscript
system-idwikipedia-en
labelUserscripts
titleWikipedia: A userscript is a program, usually written in JavaScript, for modifying web pages to augment browsing.

Entry on Userscript on Wikipedia.
Bookmarklet
Userscripts for Confluence
Confluence Server Developer DocumentationAn introduction to app development for Confluence on developer.atlassian.com.
How to use JavaScript in ConfluenceConfluence provides the ability to include JavaScript codes either inside the Custom HTML or HTML macro.