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 votes

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
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

237 views 2 10
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