How to hide style in source page

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Nov 14, 2012 4:28 pm
I would like to hide in the source page (ctrl+u), links to css styles and styles Defining the template. How to do it? Hide understand also by reference to another file.

This I would like to hide:

Code: Select all
<link href="http://www.ainni.pl/images/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
  <link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
  <link rel="stylesheet" href="/templates/gk_music_free/css/k2.css" type="text/css" />
  <link rel="stylesheet" href="/cache/widgetkit/widgetkit-ac29e015.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/tablet.css" type="text/css" media="only screen and (max-width: 800px), only screen and (max-device-width: 800px) and (-moz-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 800px) and (-o-max-device-pixel-ratio: 1.5/1), only screen  and (max-device-width: 800px) and (-webkit-max-device-pixel-ratio: 1.5), only screen and (max-device-width: 800px) and (max-device-pixel-ratio: 1.5), only screen and (max-device-width: 1600px) and (-moz-min-device-pixel-ratio: 2), only screen and (max-device-width: 1600px) and (-o-min-device-pixel-ratio: 2/1), only screen and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2), only screen and (max-device-width: 1600px) and (min-device-pixel-ratio: 2)"  />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/mobile.css" type="text/css" media=" screen and (max-width: 480px), screen and (max-device-width: 480px)"  />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/normalize.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/layout.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/joomla.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/system/system.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/template.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/menu/menu.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/gk.stuff.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/style1.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/typography/typography.style1.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/templates/gk_music_free/css/typography/typography.iconset.style1.css" type="text/css" />
  <link rel="stylesheet" href="http://www.ainni.pl/modules/mod_news_pro_gk4/interface/css/style.css" type="text/css" />
  <style type="text/css">
.gkcol { width: 220px; }
#gkPageWrap { min-width: 350px; max-width: 3500px; margin: 0 auto; }
body { padding: 0 50px; }
#gkPage > #gkContent { width: 700px; padding: 20px; }
#gkContent .box { padding: 40px 0 0 0!important; }
body #gkPageTop, body #gkToolbar, #gkFooter { padding-left: 50px; padding-right: 50px; margin-left: -50px!important; }
@media screen and (max-width: 560px) {
       #k2Container .itemsContainer { width: 100%!important; }
       .cols-2 .column-1,
       .cols-2 .column-2,
       .cols-3 .column-1,
       .cols-3 .column-2,
       .cols-3 .column-3,
       .demo-typo-col2,
       .demo-typo-col3,
       .demo-typo-col4 {width: 100%; }
       }
          .masonry > .box.half { width: 175px; max-width: 100%; }
          .masonry > .box.one,
          .masonry > .box { width: 350px; max-width: 100%; }
          .masonry > .box.double { width: 700px; max-width: 100%; }
          .masonry > .box.triple { width: 1050px; max-width: 100%; }
          .masonry > .box.fourfold { width: 1400px; max-width: 100%; }
          .masonry > .box.full { width: 100%; max-width: 100%; }
          .masonry > .box { padding: 20px }
       
          body[data-content-width="1"] .masonry .box.double,
          body[data-content-width="1.5"] .masonry .box.double,
          body[data-content-width="1"] .masonry .box.triple,
          body[data-content-width="1.5"] .masonry .box.triple,
          body[data-content-width="1"] .masonry .box.fourfold,
          body[data-content-width="1.5"] .masonry .box.fourfold { width: 350px; max-width: 100%; }
          body[data-content-width="2"] .masonry .box.triple,
          body[data-content-width="2.5"] .masonry .box.triple,
          body[data-content-width="2"] .masonry .box.fourfold,
          body[data-content-width="2.5"] .masonry .box.fourfold { width: 700px; max-width: 100%; }
          body[data-content-width="3"] .masonry .box.fourfold,
          body[data-content-width="3.5"] .masonry .box.fourfold { width: 1050px; max-width: 100%; }
       

body,
 { font-family: 'http://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext', Arial, sans-serif; }

.gkMenu,
.gkMenu > ul div.childcontent li,
.gkMenu > ul > li a small,
.gkMenu > ul > li,
.box h3.header,
.box_menu h3.header,
.box_text h3.header,
h1,h2,h3,h4,h5,h6,
th,
a.moduleItemTitle,
.searchintro,
p.gkInfo1,
p.gkTips1,
p.gkWarning1,
p.numblocks span  { font-family: Georgia, "Times New Roman", Times, serif; }

.blank { font-family: Arial, Helvetica, sans-serif; }

#menu562 > div,
#menu562 > div > .childcontent-inner { width: 660px; }

  </style>
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/media/system/js/modal.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
  <script src="/components/com_k2/js/k2.js" type="text/javascript"></script>
  <script src="http://www.ainni.pl/components/com_k2store/js/k2store.js" type="text/javascript"></script>
  <script src="/media/widgetkit/js/jquery.js" type="text/javascript"></script>
  <script src="/cache/widgetkit/widgetkit-a1cb1053.js" type="text/javascript"></script>
  <script src="http://www.ainni.pl/templates/gk_music_free/js/gk.scripts.js" type="text/javascript"></script>
  <script src="http://www.ainni.pl/templates/gk_music_free/js/gk.menu.js" type="text/javascript"></script>
  <script src="http://www.ainni.pl/templates/gk_music_free/js/moo.masonry.js" type="text/javascript"></script>
  <script src="http://www.ainni.pl/modules/mod_news_pro_gk4/interface/scripts/engine.js" type="text/javascript"></script>
  <script type="text/javascript">

      window.addEvent('domready', function() {

         SqueezeBox.initialize({});
         SqueezeBox.assign($$('a.modal'), {
            parse: 'rel'
         });
      });
var K2SitePath = '/';
var k2storeURL = 'http://www.ainni.pl/';
 $GKMenu = { height:true, width:true, duration: 250 };
$GK_TMPL_URL = "http://www.ainni.pl/templates/gk_music_free";

$GK_URL = "http://www.ainni.pl/";


window.addEvent('load', function() {
   

   (function() {

   
document.id('gkPage').masonry({
      columnWidth: 175
   });


   if(document.id('gkTop')){
      document.id('gkTop').masonry({
         columnWidth: 175
      });
   }

   if(document.id('gkBottom')) {
      document.id('gkBottom').masonry({
         columnWidth: 175
      });
   }

   
}).delay(500);

});

function keepAlive() {   var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
  </script>
User avatar
Fresh Boarder

Konrad M
Thu Nov 15, 2012 2:39 pm
Hi,
I'm not sure if it is possbile. You can always try find some js plugnis which don't allow users to view your source code.
User avatar

GK User
Thu Nov 15, 2012 3:30 pm
Konrad M wrote:Hi,
I'm not sure if it is possbile. You can always try find some js plugnis which don't allow users to view your source code.


I have not found such a good plugin (I do not want the plugin that blocks the right mouse button), and it seems to me that it is a solution to transfer the code to another file read by index.php

Do you know the solution?
User avatar
Fresh Boarder

Konrad M
Thu Nov 15, 2012 3:32 pm
Unfortunetly no.
User avatar

GK User
Thu Nov 15, 2012 3:38 pm
maybe someone else knows ?
User avatar
Fresh Boarder


cron