Skip to content

Commit 5fe1193

Browse files
authored
Create README.md
1 parent 31309e9 commit 5fe1193

File tree

1 file changed

+9
-0
lines changed
  • Client-Side Components/UI Scripts/Prevent right click on portals

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**Steps to Activate**
2+
1. Open the portals you want to disable right-click in "sp_portal" table.
3+
2. Open the theme attached to the portal.
4+
3. In the theme under "JS Includes" relatd list, create new JS include and select the UI script you created.
5+
Go to your portal and try to roght click, it will prevent and show the alert message.
6+
7+
**Use Case**
8+
1. Many high security organizations like banks do not want their images or links to be copied through "inspect" so right-click need to be disabled.
9+
2. Many organizations want their source code to be hidden so they prevent right-click.

0 commit comments

Comments
 (0)