• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

VBScript and HTML

Is there any way to hide the contents of your vbscript from the 'view source' feature? In other words, much like you can put your JavaScript in .js files and read them from there - can you do the same thing, or something similar with VB Script?
  • 2
1 Solution
Hi cantrell,

I'm not sure about that, but try .vbs
what about asp, I think it is better.

hope this helps

js and vbs is a script file type.
<script> tag is a common script tag that allow you use any language of script.
so , in my opinion, you can use <script> like this...
<script language="vbscript" src="/script/myscrip.vbs"></script>
cantrellAuthor Commented:
I will try that StingRay and let you know.
cantrellAuthor Commented:
That did it. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now