Avoid the li tag symbol from being copied

Manolo

I'm new here so I'll try to explain what I want. (and also sorry if this is a stupid question)

I made a html webpage containing some information listed (servers name) with tags (unordered list), and some colleagues are complaining because when they copy the server name and paste it on linux command prompt, the symbol appears behind.

So, my question is: Is there any way to avoid the symbol from being copied when they make a copy/paste of the name?

Best Regards.

Will S

You could try setting a css rule like this:

ul li {
    list-style-image: url(http//example.com/bulletpoint.jpg);
}

to replace the default text bullet point. That way when copying the text the image wont get copied.

Another option is making the bullet points unselectable see this question, for good information on how to do that. The CSS selector you would use would probably have to be 'ul' (to disable), followed by 'ul li' to re-enable selection of the useful text.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to avoid from multiple times data being appended to the select tag

From Dev

protect images from being copied

From Dev

Protecting raw JSON data from being copied

From Dev

Prevent line numbers from being copied to clipboard

From Dev

SQL Server DB stop from being copied

From Dev

Prevent session from being replicated when JSESSIONID cookie copied

From Dev

cp command to exclude certain files from being copied

From Dev

Can I prevent object from being copied by std::memcpy?

From Dev

How to exclude some fields from being copied to realm database?

From Dev

cp command to exclude certain files from being copied

From Dev

Protecting Virtual machine from being copied to other hosts

From Dev

How to Protect Windows OS Image From Being Copied?

From Dev

How to exclude some files from being copied using xcopy?

From Dev

Is there a very effective method to prevent a .jpg file for being copied from a page?

From Dev

How to exclude some fields from being copied to realm database?

From Dev

gulp src - exclude folders from being copied on task execution

From Dev

I want to insert a :before symbol to my "li" tag?

From Dev

file is not being completely copied

From Dev

nodejs array not being copied?

From Dev

How to avoid double border from the multiple <li>

From Dev

Prevent animation from being applied to <a> inside <li>

From Dev

How to Disable Any li From Being Sortable?

From Dev

Avoid bitmap from being recycled android

From Dev

Jquery, get values from <li> tag

From Dev

How to get value from <li> tag

From Dev

Build a tree menu with li tag from array

From Dev

Retrieving the a href value from a sublist LI tag

From Dev

Jquery, get values from <li> tag

From Dev

I want to remove the <hr> tag from the last <li> tag

Related Related

  1. 1

    How to avoid from multiple times data being appended to the select tag

  2. 2

    protect images from being copied

  3. 3

    Protecting raw JSON data from being copied

  4. 4

    Prevent line numbers from being copied to clipboard

  5. 5

    SQL Server DB stop from being copied

  6. 6

    Prevent session from being replicated when JSESSIONID cookie copied

  7. 7

    cp command to exclude certain files from being copied

  8. 8

    Can I prevent object from being copied by std::memcpy?

  9. 9

    How to exclude some fields from being copied to realm database?

  10. 10

    cp command to exclude certain files from being copied

  11. 11

    Protecting Virtual machine from being copied to other hosts

  12. 12

    How to Protect Windows OS Image From Being Copied?

  13. 13

    How to exclude some files from being copied using xcopy?

  14. 14

    Is there a very effective method to prevent a .jpg file for being copied from a page?

  15. 15

    How to exclude some fields from being copied to realm database?

  16. 16

    gulp src - exclude folders from being copied on task execution

  17. 17

    I want to insert a :before symbol to my "li" tag?

  18. 18

    file is not being completely copied

  19. 19

    nodejs array not being copied?

  20. 20

    How to avoid double border from the multiple <li>

  21. 21

    Prevent animation from being applied to <a> inside <li>

  22. 22

    How to Disable Any li From Being Sortable?

  23. 23

    Avoid bitmap from being recycled android

  24. 24

    Jquery, get values from <li> tag

  25. 25

    How to get value from <li> tag

  26. 26

    Build a tree menu with li tag from array

  27. 27

    Retrieving the a href value from a sublist LI tag

  28. 28

    Jquery, get values from <li> tag

  29. 29

    I want to remove the <hr> tag from the last <li> tag

HotTag

Archive