Board index PBase HTML and Style Sheets prob with Statcounter code

HTML and Style Sheets

prob with Statcounter code

Customize your galleries.
adamstw
 
Posts: 104

prob with Statcounter code

Post Fri Dec 12, 2003 11:28 pm


Hi,
I have been trying to insert the following code into my root page description
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=21222;
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com" target="_blank"><img src="http://c1.statcounter.com/counter.php?sc_project=221179&java=0" alt="web statistics" border="0"></a> </noscript>
<!-- End of StatCounter Code -->


But for some reason this part of the code is being deleted

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script>

...therefore, the counter isnt working.
Any ideas why Pbase deleting this code...
help??!!
Randy A
Taiwan
http://www.pbase.com/adamstw

adamstw
 
Posts: 104

update

Post Sun Dec 14, 2003 12:05 am


Seems that Pbase removes SCRIPT tags to prevent the malicious use of evil Javascript!
see :http://forum.pbase.com/viewtopic.php?t=63
(at the bottom)

calitech
 
Posts: 1

A possible fix.

Post Wed Feb 25, 2004 4:47 am


I've had a similar problem with HTML code being removed. I think it has something to do with Javascript.

Anyway, I went and found another service that offers a similar free web page counter http://gostats.com. The best part is that there is an option for a simple html version that doesn't need javascript.

ilanphoto
 
Posts: 876


Post Wed Feb 25, 2004 8:17 am


I have nedstat on my pages and I have no problem. It uses JV as well so I don't know what is up but I have found some HTML code that does not work I had used iframe and it worked for some time and now does not work anymore :cry:

ubik
 
Posts: 157

Re: update

Post Wed Mar 10, 2004 7:01 pm


adamstw wrote:Seems that Pbase removes SCRIPT tags to prevent the malicious use of evil Javascript!
see :http://forum.pbase.com/viewtopic.php?t=63
(at the bottom)




I don't think so cause i'm using this and works good


<script language="JavaScript" type="text/javascript"
src="http://m1.nedstatbasic.net/basic.js">
</script>
<script language="JavaScript" type="text/javascript" >
</script>
<noscript>

<a target="_blank"
href="link here"><img
src="http://m1.nedstatbasic.net/n?id=Aid here"
border="0" nosave width="18" height="18"
alt="Nedstat Basic - Free web site statistics"></a>
</noscript>


this is an implementation of a couter too

robert
 
Posts: 114

NedStat in Style Sheet

Post Thu Mar 11, 2004 12:06 pm


I had no luck inserting the code into a style sheet. However, I was able to paste the HTML code provided by NedStat into the gallery description.
Works fine (remember to turn on HTML). Only mod was adding <p align="right"> ahead of code to move it to the right side.

ukexpat
 
Posts: 1193

Re: NedStat in Style Sheet

Post Thu Mar 11, 2004 2:09 pm


r53lanc wrote:I had no luck inserting the code into a style sheet. However, I was able to paste the HTML code provided by NedStat into the gallery description.
Works fine (remember to turn on HTML). Only mod was adding <p align="right"> ahead of code to move it to the right side.


I use Nedstat code in my gallery descriptions too. It will not work in a style sheet as they are not designed for javascript.

lord_of_the_badgers
 
Posts: 440


Post Fri Apr 16, 2004 4:48 pm


don't know much about this till now... if i insert something like this will it be based on the day i started? What else do i have to do... thanks...

I read somewhere that pBase are looking into charts and that.

ukexpat
 
Posts: 1193


Post Fri Apr 16, 2004 5:41 pm


lord_of_the_badgers wrote:don't know much about this till now... if i insert something like this will it be based on the day i started? What else do i have to do... thanks...

I read somewhere that pBase are looking into charts and that.


The Nedstat counters start from the day you create the relevant counter.


Board index PBase HTML and Style Sheets prob with Statcounter code

Who is online

Users browsing this forum: ClaudeBot and 2 guests