• Page 1 of 1
  • 1
About uCoz scripts!
jackass
Posts: 294
Reputation: 10

Message # 1 | 5:36 PM
Hello!

First of all I don't have any problems, I just need some information!
I just find out that I can disable all uCoz scripts from HEAD section by replacing
Code
</head>
with
Code
<?if('A'='A')?></h<?substr('ee',1)?>ad><?else?></head><?endif?>


I did it and created a new global block called head and in this block I added all uCoz scripts back!

Code
<link type="text/css" rel="StyleSheet" href="http://s43.ucoz.net/src/layer3.css" />
<script type="text/javascript" src="http://s43.ucoz.net/src/jquery-1.6.1.js"></script>
<script type="text/javascript" src="http://s43.ucoz.net/src/uwnd.js?2"></script>
<style type="text/css">.UhideBlock {display:none}</style>


Why did I need to do that? Simple I needed to add some costume scripts between jquery and uwnd.js?2, in two words, change order!
All is working fine smile

But my question is...

1. is this 3 file all of them?

Code
<link type="text/css" rel="StyleSheet" href="http://s43.ucoz.net/src/layer3.css" />
<script type="text/javascript" src="http://s43.ucoz.net/src/jquery-1.6.1.js"></script>
<script type="text/javascript" src="http://s43.ucoz.net/src/uwnd.js?2"></script>


2. If uCoz updates some of the scripts how will I know and if I will be able to update them or will I be able to use old ones?

Thanks wink
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 2 | 0:11 AM
jackass, they are all the major ones as far as I am aware. Keep in mind the "layer3" script is only for a singular colour and style to be applied to the admin bar and the style won't be able to be changed.

If uCoz update any of the scripts you are going to need to update as well as not doing so may cause problems, although, if you are still directly linking to the uCoz server all of them should update automatically except for the jQuery which you would need to just change the version on.

Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
jackass
Posts: 294
Reputation: 10

Message # 3 | 8:20 AM
Paradox, thanks for your answers! Yes I will directly linking them from uCoz servers wink I hope I won't get any problems!
If uCoz won't change location of scripts they are using, I will be fine wink

Quote (Paradox)
the style won't be able to be changed

Do you mean uCoz wont change it or I will not be able to change it?
  • Page 1 of 1
  • 1
Search: