473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Translating Javascript?

3
Sorry, but I'm very ignorant of all this stuff. It's all Greek to me.

Here's my problem. I've been using ProfileViewsPlus as a MySpace tracker and it was working beautifully. I updated the code and it seems MySpace is now filtering it to not allow Javascript. When I paste the code it doesn't paste the same way it was copied rendering the tracker useless.

Here is the code:

<img src="http://www.profileviewsplus.com/image/5d9ebb3eaa9a6cdb40a0d2d0c7a41fec.gif" style="display:hidden;"><embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" src="http://www.../loader/5d9ebb3eaa9a6cdb40a0d2d0c7a41fec.mov" autoplay="true" hidden="true" enableJavascript="true"></embed>

And here is how it is when I paste it and save the changes:

<img src="http://www.../image/5d9ebb3eaa9a6cdb40a0d2d0c7a41fec.gif" style="display:hidden;"><embed allowScriptAccess="never" allowNetworking="internal" enableJSURL="false" src="http://www.../loader/5d9ebb3eaa9a6cdb40a0d2d0c7a41fec.mov" autoplay="true" hidden="true" enableJavascript="true"></embed>

Is there anything I can do to make this work again?

Thanks.
Nov 27 '06 #1
5 1821
AricC
1,892 Expert 1GB
The only thing I see different between the two is that in the pasted version you are missing profileviewsplus in the src. I don't know a whole lot about myspace or anything so that may or may not help.

Aric
Nov 27 '06 #2
Splops
3
Yes, that is the only difference, but it prevents the code from working properly. Even if I type that part in manually it's gone when I save the changes.
Nov 27 '06 #3
AricC
1,892 Expert 1GB
Is this something myspace is doing to your page when you try to update? You could try to go to that url and take the image then host it somewhere else if not.

HTH,
Aric
Nov 28 '06 #4
Splops
3
Yes, when I update my profile MySpace is altering that code. They (MySpace) do not allow Javascript.

I'm sorry, I'm very green about all of this. What do you mean about hosting an image elsewhere?
Nov 28 '06 #5
change www.profileviewsplus.com to the ip address

however the scripting in the quicktime movie file will be disabled so you will only get the most basic stats like ipaddress and time visited because myspace adds this line to any embed tags [ enableJSURL="false" ]

u should start looking for other tracking methods
Dec 12 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Davis Marques | last post by:
hi; I'm translating some PHP scripts to Python and have hit a roadblock with a for statement. If someone could explain to me how one should translate the multiple increment, evaluations, etc....
2
by: Henrik S. Hansen | last post by:
How do you best go about translating characters like '\\n' to '\n'? This is for a configuration file parser, where the "backslash convention" is supported. The naive approach --...
1
by: Michael Friendly | last post by:
I have a LaTeX document describing a long list of items that I want to translate to XML to treat these as a database. I've written a perl script to do the basic translation, and a basic DTD file,...
12
by: Charles Law | last post by:
Hi guys A bit of curve ball here ... I have a document (Word) that contains a series of instructions in sections and subsections (and sub-subsections). There are 350 pages of them. I need to...
3
by: Jon Maz | last post by:
Hi All, Am getting frustrated trying to port the following (pretty simple) function to CSharp. The problem is that I'm lousy at Regular Expressions.... //from...
3
by: Eirik Eldorsen | last post by:
I'm tring to translate an VB.NET method into C#. Here is what I've done so far. Need help on the while loop public static void SetInitialFocus(Control ctrl) { StringBuilder s = new...
5
by: Vyz | last post by:
Hi, I have a script with hundreds of lines of javascript spread accross 7 files. Is there any tool out there to automatically or semi-automatically translate the code into python. Thanks Vyz
1
by: timn | last post by:
Translating Access SQL queries into SQL subqueries. -------------------------------------------------------------------------------- I have a query in Access that uses a subquery, I would like...
0
by: PopeDarren | last post by:
_Short version_: Is it possible to directly access the hyperlink objects in the MenuItem and TreeNode objects on the server-side? If so, how do I do it? _Long version_: I'm getting to the end...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.