Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
­­­­AteBunnies­­http://www.indecentcode.com/rslinkify_images/10282.png­­10282­­­­

Meredith wtf said :
Meredith wtf said :
I've tried to log into the rsof using php so many times and I can never get it to work. I'll try again in a bit because it's something that I want to see work, but don't get your hopes up.

I gave up


Aw damn I would have liked to see this happen. I haven't tried with PHP, tbh I thought that would be the best way to go. I have had limited success with javascript. But after a while they started to refuse my logins saying this page doesn't support automatic login. So I figured that was a good time to stop.

Edit:
Quick question (actually there is rarely such thing as a quick question from me)

Last night I took a quick look at google apps. Was my first time checking it out, so I did a couple of very basic tests. It seems they get around the same origin policy (for requests) like it never existed. It's like all scripts are running in the target webpage. How the hell do they do that? And how they can they get away with that?  No Access-Control headers are useless, they are not honoured at all. I see Google apps is largely a free for all scraping service with some nice features thrown in. So yeah how do they do it?

30-Nov-2013 00:48:03 - Last edited on 30-Nov-2013 01:13:22 by Indecent Act

Meredith wtf

Meredith wtf

Posts: 4,160 Adamant Posts by user Forum Profile RuneMetrics Profile
Presumably by routing the request through like www.google.com/pagegrabber.php?url=http://www.example.com

Basically like

<?php
echo file_get_contents($_GET['url']);
?>

Except Google has been known to like, parse javascript on pages and stuff too, but that's just the basic idea of the script.

And requesting that file instead of http://www.example.com

There is no cross-domain policy with php :)

30-Nov-2013 04:02:59

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Thanks Meredith, that's kind of what I suspected and but with my noobish PHP skills I still hit request limit. But what you say about javascript makes a lot of sense to me and confirms some things I just read.

A post on stackoverflow says that they inject a script tag into the dom to handle their 'get' functions. Since script tags don't apply to same origin policy I can see how that would work. It also explains why they don't hit a request limit since everything is running within the scope of the page (like Blasty's GE id example).

The way I understand it is basically the server doesn't reject requests that the page is dishing out. Even if those request originated elsewhere it doesn't matter because they are now a part of the dom and the server can't see modifications made to the dom.

If it's correct it's kind of a crude method, but definitely effective. There are still some things I'm not sure about. But with what you said and what I read I have a basic idea of what's happening :)

30-Nov-2013 04:38:12

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
Hey Charlie, I made the thread notifier thing:

https://docs.google.com/spreadsheet/ccc?key=0AvP4A1paVEPbdHBHSE5PTk1vWlVnTnZNQzNiN0IwdEE&usp=sharing&newcopy=true

1. Enter email and change 'Don't notify' to 'Notify'
2. Enter QFC(s)
3. Options -> Activate Notifier

It'll check the thread sections every 30 minutes and check if the thread is there, and whether or not it has more posts.

It'll then e-mail you a link to the thread, however it won't have the session id so you will have to copy&paste that yourself to post a reply. Also, it doesn't work for specialist forums since you need to be logged in to view those.

If you stop using it, make sure to deactivate it so it doesn't send you emails and take up any script quota.

I would still suggest just profiling or bookmarking threads in your browser to check on regularly.

­­­­
<
Blasty
the Blue
>
­­­­
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

01-Dec-2013 09:49:00

Quick find code: 261-262-33-65181208 Back to Top