hello...

is there a way of hiding some part of page source code? or modules that can handle such action?

i wanted to hide some source code of a page if user or visitors try to view source.

like in the header... i wanted to hide the following example bellow.

<link type="text/css" rel="stylesheet" media="all" href="/613/sites/all/modules/views/css/views.css?i" />
<link type="text/css" rel="stylesheet" media="all" href="/613/modules/node/node.css?i" />
<link type="text/css" rel="stylesheet" media="all" href="/613/modules/system/defaults.css?i" />
...
<link type="text/css" rel="stylesheet" media="all" href="/613/modules/system/system.css?i" />
...

and among others...

basically, i just wanted to hide some scripts and path to each library from users or visitors upon viewing the source code of my website.

thanks,

vsotto

Edited by WorldFallz - added <code> tags.

Comments

WorldFallz’s picture

http://lmgtfy.com/?q=hide+html+source

In short, it would seem the answer is no.

HoKe’s picture

Hi,
I was facing the same issue.

I think, I found a solution:

Log in as your Drupal site’s administrator.
Go to the Administer » Site configuration » Performance page.
Check the Enabled checkbox for Aggregate and compress CSS files.
Click the Save configuration button.

detailed description on the below link:
Speed up a Drupal web site by enabling CSS file aggregation