disable copy feature

If we give users a read-only permission to a page then how can we prevent them from Copying the page? Can Copy option be surpressed?

2 answers

0 vote

No, you can't suppress it.  There's no point - even if you could get rid of copy, a user can still select, copy and paste the content into a new page.  The fact that they can read it makes it copy-able (horrible constructed word, I apologise, but I can't think of a better way to say it)

You could make the text uncopyable; not foolproof, but it would keep the honest people honest.

  1. Add a div macro and set the class to noselect.

  2. Cut all the text on the page and paste it into the body of the div macro
  3. Add a CSS Stylesheet macro with the following in the body (you could instead add this to Look and feel --> CSS):

    .noselect {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 8 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

85 views 2 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you