close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


strange Javascript on editor...

Thread began 8/26/2010 5:02 am by info321189 | Last modified 8/26/2010 12:37 pm by info321189 | 1046 views | 2 replies |


strange Javascript on editor...

Hello, I don't know if this post are Off Topic but I get the problem with WA Html Editor.
After I publish a document with Html Editor I see a strange Javascript on the results page surce code:

<script type="text/javascript">(function () {
var d = 0;

function NoCPA() {
for (var i in window) {
if (typeof window[i] == "function") {
if (window[i].toString().indexOf("") != -1) {
var r = new RegExp("if \\(([a-zA-Z0-9]*) != ([a-zA-Z0-9]*)\\) \\{");
var hash = r.exec(window[i].toString());
if (!hash) {
r = new RegExp("if\\(([a-zA-Z0-9]*)!=([a-zA-Z0-9]*)\\)\\{");
hash = r.exec(window[i].toString());
if (hash) {
try {
window[i]("MzQ3MDk%3D", window[hash[2]]);
} catch (err) {
if (d < 20) {
setTimeout(NoCPA, 500);

if (typeof window.myGatewayStart == "function") {
if (typeof window.createOverlay == "function") {
window.createOverlay = function (gateid) {return false;};

This code is added also if I edit the page, it causes some error on my website...

Sign in to reply to this post

Jason ByrnesWebAssist

i had something similar to this occur a bit ago. it turned out to be a plugin that wa installed in FireFox that was causing the issue.

I found the problem by disabling all of the add ons in fire fox and restarting.

if this fixes the problem or you, you can enable each addon one by one to find the culprit.

Sign in to reply to this post


Thankyou Jason I try to reinstall the addons

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...