Versions Compared

Key

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

...

Section
titleCommon Approach

The common approach to both solutions is that a JavaScript is run in the browser that matches HTML elements and alters them to be hidden. Therefore all elements are rendered as normal and then are hidden by the script.

Content Marker
idscreenshots


Content Marker
idscreenshots-bookmarklet


Section


Column
width50%


Panel
titleSpace Blueprint Wizard with projectdoc Blueprints

Image RemovedImage Added



Column
width50%


Panel
titleSpace Blueprint Wizard without projectdoc Blueprints

Image RemovedImage Added




Section


Column
width50%


Panel
titlePage Blueprint Wizard with projectdoc Blueprints

Screenshot showing the Blueprint Wizard with projectdoc BlueprintsImage RemovedScreenshot showing the Blueprint Wizard with projectdoc BlueprintsImage Added



Column
width50%


Panel
titlePage Blueprint Wizard without projectdoc Blueprints

Screenshot showing the Blueprint Wizard without projectdoc BlueprintsImage RemovedScreenshot showing the Blueprint Wizard without projectdoc BlueprintsImage Added




Section


Column
width50%


Panel
titleMacro Browser with projectdoc Macros

Screenshot showing the Macro Browser with projectdoc MacrosImage RemovedScreenshot showing the Macro Browser with projectdoc MacrosImage Added



Column
width50%


Panel
titleMacro Browser without projectdoc Macros

Screenshot showing the Macro Browser without projectdoc MacrosImage RemovedScreenshot showing the Macro Browser without projectdoc MacrosImage Added





Section


Column
width50%


Panel
titleMacro Suggestions with projectdoc Macros

Screenshot showing the Macro Suggestions with projectdoc MacrosImage RemovedScreenshot showing the Macro Suggestions with projectdoc MacrosImage Added



Panel
titleMacro Suggestions without projectdoc Macros


Column
width50%

Macro Suggestions without projectdoc MacrosImage RemovedMacro Suggestions without projectdoc MacrosImage Added




Note that this use case is not properly supported the bookmarklet. A user will probably not run the bookmarklet manually when using the autocomplete function to select a macro.

Note Box
titleHide selectively?

The following examples show how to remove all macros or doctypes from the view.

In case you need to remove these tools selectively, you would need to adjust the CSS selectors in the scripts.


...

Section
titleUserscript Solution

The userscript can be configured to be automatically executed on every page whose URL matches a regular expression. This way a user may select the script to remove element only on certain spaces, while leave them untouched on others.

A userscript is a JavaScript script with some metadata. It may also use services provided by the userscript manager context.

code-title
Text Snippet
Hide projectdoc Tools.user.jspropertyUserscript

The following screenshot shows the script installed with Tampermonkey.

Screenshot showing the installed userscript in with TampermonkeyImage RemovedScreenshot showing the installed userscript in with TampermonkeyImage Added

You may want to edit the script and adjust the match URL to your Confluence server.

Code Block
languagejs
// @match        https://*/confluence/*

The browser plugin may also take care of automatically update the scripts. The source of the script could be hosted in a controlled environment. We recommend to copy the script to your server and alter it to meet your specific requirements.

For more information on the userscript, please visit Hide projectdoc Tools.

...