On 9/22/2008 7:34 PM India Time, _Vikas Pandey_ wrote:

> Orkut has changed its code again, so all gm scripts of orkut must have 
> stopped working.
> 
> You would need to modify them as follow:
> 
> Previously, orkut urls were like this:
> http://www.orkut.co.in/Profile.aspx?uid=
> http://www.orkut.co.in/FullProfile.aspx?uid=
> http://www.orkut.co.in/Scrapbook.aspx?uid=
> 
> Now, they have become like this:
> http://www.orkut.co.in/Main#Profile.aspx?uid=
> http://www.orkut.co.in/Main#FullProfile.aspx?uid=
> http://www.orkut.co.in/Main#Scrapbook.aspx?uid=
> 
> So wherever you have hardcoded the urls, just add "Main#" at the 
> appropriate place and the scripts would work again.
> 
> I have yet to try it for myself. Shall keep you posted if there are 
> other changes also.
> 
> Hope that helps.


Nope that doesn't work.

Orkut has introduced iframes on each page, and actual info that could 
have been directly read from the page previously is no more available.

The part of the code is like this:

<base target="_top"></base>
<link href="http://img3.orkut.com/css/gen/base032.css"; rel="stylesheet" 
type="text/css">
<link href="http://img4.orkut.com/css/gen/castroskin016.css"; 
rel="stylesheet" type="text/css">
<script src="http://img1.orkut.com/js/gen/common036.js"; 
type="text/javascript"></script>
<script src="http://img3.orkut.com/js/gen/in_frame009.js"; 
type="text/javascript"></script>

<script language="javascript">
_addLoadEvent(function() {
initOrkutFrame();
});
</script>
<script type="text/javascript">
JSHDF['csiServer'] = 'csi.gstatic.com';
</script>
</head>
<body id="mainBody" name="mainBody">
<iframe id="orkutFrame" name="orkutFrame" src="" 
style="display:none"></iframe>
<script language="javascript">
preInitOrkutFrame();
</script>
<noscript>
<div id="container">
<div id="mboxfull" style="margin-top:15px;">
<table cellpadding="0" cellspacing="0" border="0" class="module" 
 ><tr><td class="topl_g">
&nbsp;</td><td class="topr_g" ></td></tr>
<tr><td class="boxmidlrg" >
<p>JavaScript must be enabled for you to use Orkut. However, it seems 
JavaScript is either disabled or not supported by your browser. For 
Orkut to work properly, enable JavaScript by changing your browser 
options, then <a href="/Main">try again</a>.</p><br/>
<p>If you want to use Orkut on a mobile phone or similar device <a 
href="http://m.orkut.com";>click here</a>.</p>
</td><td class="boxmidr" ></td></tr>
<tr><td class="botl"></td><td class="botr"></td></tr></table>
</div>
</div>
</noscript>
</body>
</html>


So, there is

iframe id="orkutFrame" name="orkutFrame"

and all the pages are displayed within that frame.

Through gm, how do we now read that information that is within the iframe?

And how to change that?

Thanks.
-- 
Vikas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to