Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 7th July 2009, 09:47
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default disalow view page source
hove to disalow users to see page source using ctrl plus u ?
is there any mod ?
can i set mod to ban users who request page source ore web page can't know who are trying to do that ?
p.s.i woud like to put on this mod as protection of smartassess who says "hey ur code have error there and there " like i don't know that
Reply With Quote
  #2  
Old 7th July 2009, 13:38
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
There is a disable right click javascript mod, but that mod is completely useless.
Firstly because you can always view the source via, the top View, View Source also you don't actually see the php you only see html.
and there is this mod in the tbdev forums.

oh and ps

Don't you want your errors reported so you can fix them?
Reply With Quote
  #3  
Old 7th July 2009, 14:05
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by phogo View Post
Don't you want your errors reported so you can fix them?
thats the funieest part reports are useles i have tools what reports me if there is a bug ore error
but i can see full js if i directly accses it hove to stop that ?
same with css
Reply With Quote
  #4  
Old 7th July 2009, 15:06
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
you should put your java scripts in its own file and use
PHP Code:
echo "<script type=\"text/javascript\" src=\"your.js\"></script>\n"
that way it dont show the direct java they would have to look at it from that page
and same with your css info dont add it to the files creat a .css file and only put your css info there
but other then that the source is always viewable one way or another because it has to be or it wouldnt work at all.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 7th July 2009, 15:16
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
Quote:
Originally Posted by joeroberts View Post
you should put your java scripts in its own file and use
PHP Code:
echo "<script type=\"text/javascript\" src=\"your.js\"></script>\n"
that way it dont show the direct java they would have to look at it from that page
and same with your css info dont add it to the files creat a .css file and only put your css info there
but other then that the source is always viewable one way or another because it has to be or it wouldnt work at all.
didn't get this like i have file default.css so i need to add to it what ?
because when i put in my browser localhost/default.css i got white page and all my css in it same with js
see screen
Attached Thumbnails
Screenshot-1.png  
Reply With Quote
  #6  
Old 7th July 2009, 15:18
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
you can not stop that because you have to be able to see the sources or your site would never work
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #7  
Old 7th July 2009, 15:20
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
oh then i understand
thanks
Reply With Quote
Reply

Tags
disalow , page , source , view


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Staff Page blargh Yuna Scatari Edition (YSE) 2 30th May 2010 07:25
Help me with the coded page dred Community Cafe 4 24th June 2009 17:51
The Donation page in 5.4.1 Terminator Template Shares 3 21st June 2009 02:37
[TT] Login Page pee4a Torrent Trader 3 19th May 2009 20:42
Looking for View NFO mod RC2 3v0 Yuna Scatari Edition (YSE) 2 19th June 2008 15:35



All times are GMT +2. The time now is 16:59. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.