Month's top: Whynotsignup00 with 28$
Want LAH to translate a manga for you?
Little Angels Hentai Forum Index
It's for you!
Q's about direct linking prevention
Goto page Previous  1, 2, 3
 
Compose reply Little Angels Hentai Forum Index » Help and test-post forum View previous thread
View next thread
DMCA
Q's about direct linking prevention
Author Message
jacxxx
Earth Angel
Warnings:
Posts: 1308

Post Quote
ult_combo:
.. no idea how I overlooked that. Razz Fixed now.
fixed mine now too Embarassed

ult_combo:
jacxxx:
could your other 2 LAH-scripts be useful to me? If so, how?
They add a quick "Goto page number" box to the side of the nav bars, I guess it's useful for people whom browse these long picture threads a lot. Razz The details ... can be found here.
Thanks for your explanation, a very useful add-on indeed!


_________________
My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85 In Love
Tue Jul 03, 2012 7:01 am Profile PM
jacxxx
Earth Angel
Warnings:
Posts: 1308

Post Quote
ult_combo:
jacxxx:
BTW: couldn't you install ult's code into LAH itself?
Sat:
Such bypasses are not encouraged, especially as it would make us dependent on the anonymizer service.
Not to mention some hosts display fake "file deleted" messages when you use a dereferer service. Like mediafire with anonym.to or filestube.
Yes, those are a couple points. Also, as implied by Sat, this would most likely require regular maintaining - checking if hosts didn't block the referer service and fixing issues which may arise etc.

Well, I'm happy Sat didn't ask me to take the script down. Razz Seeing as it fits well within the rules (there's no referer info being forwarded), this adds an alternative to the end-user to either copy and paste the hxxp links or go through an anonymz.com link.

Sat has been considering an internal LAH referer service to don't be dependent on an external referer service, but then again I don't know how well that would fare.
In this post I experienced for the first time that anonymz prevents access to the outside url. Is that happening frequently lately?


_________________
My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85 In Love
Sat Dec 14, 2013 9:34 pm Profile PM
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
I've opened your linked post's links through anonymz.com without problems.
Though, anonymz does have issues with URL hashes (e.g. Mega URLs won't work). I'm now using dereferer.org, but don't worry much here - we should have a system to replace hxxp/code blocks/anonymizers soon enough after all the pending stuff is done.


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Sun Dec 15, 2013 12:14 am Profile PM MSN Skype
jacxxx
Earth Angel
Warnings:
Posts: 1308

Post Quote
I'll try not to worry too much, ult.

I have installed your lah xx --> tt converter and use Chrome on a slow lahtop. When I click hxxp://pururin.com/thumbs/9835/ghib-love-04-juukan-hime.html (the url I posted in the now removed post) in the preview I get ... hey ... now it's working fine! Yesterday I was being timed out all the time when using anonymz but at that time I had no problem at all when entering the http address directly.


_________________
My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85 In Love
Sun Dec 15, 2013 9:09 am Profile PM
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
Yeah, online services have downtimes every now and then, in that case you can disable the extension/copy the link address manually. Razz
Oh I thought I had updated that usercript to use derefer.org but guess I didn't upload the new version. I'll probably update it when I get to use my computer, though we will most likely move away from hxxp in the not so far future.


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Sun Dec 15, 2013 9:29 am Profile PM MSN Skype
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
Updated the un-hxxper userscript hxxp://userscripts.org/scripts/show/136654

Changelog:
- Use dereferer.org instead of anonymz, better uptime + Mega URLs support
- Generalize protocol pattern: replace the HXXP matching pattern by "H", any 2 characters which are not "TT", "P" (case insensitive). Adds support for h**p for example.
- Some minor performance improvements and regular expressions clean up.

I believe this should be the last iteration of this plugin, the next time we will implement it in the LAH codebase itself.


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Sun Dec 15, 2013 6:37 pm Profile PM MSN Skype
Guest (Badjman)
Guest
Warnings:

Post Quote
Hey, Badjman here,

I know of a few extensions for Chrome/Firefox that'll prevent websites from getting there referer URL as well as make up a fake one. Like I said, it would still require the user to install an extension but does work.

Another way to do it is the way ult_combo uses. (I personally use it so I can merely click the HXXP's.)

~Badjman

Mon Dec 16, 2013 3:31 am
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
Yes, the main point of the userscript is not having to copypasta or select part of the link and right-click to open. The anonymizer/dereferer part is mostly to keep us from being blocked or getting a mass deletion from file hosting sites and galleries.

I do believe it is rather cumbersome to have to install extensions to browse the site content effectively, hence there are plans to implement it in the bbcode parser itself so that everyone gets a better browsing experience without having to install extensions. In fact, there has been some work on this already, but it is currently suspended until the current dependencies are cleared.


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Mon Dec 16, 2013 5:15 am Profile PM MSN Skype
jacxxx
Earth Angel
Warnings:
Posts: 1308

Post Quote
ult_combo:
Updated the un-hxxper userscript hxyp://userscripts.org/scripts/show/136654

Changelog:
- Use dereferer.org instead of anonymz, better uptime + Mega URLs support
- Generalize protocol pattern: replace the HXXP matching pattern by "H", any 2 characters which are not "TT", "P" (case insensitive). Adds support for h**p for example.
- Some minor performance improvements and regular expressions clean up.
I just replaced the old version 1.0 by the new version 1.0 (should be 1.1 or 2.0 Idea) - had to quit and restart chrome - and now it's working fine.

Thanks
Little Angel 1


_________________
My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85 In Love
Wed Dec 18, 2013 12:47 pm Profile PM
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
This is about 1.3 actually.

I was just lazy to look up how to version userscripts. In fact, there's no versioning info in it - I believe Chrome assumes it to be 1.0 by default.

But thanks for noticing it, I've updated it now adding the @version metadata, though it will not make any difference in practice (well actually, according to the docs it allows Greasemonkey to auto-update userscripts if you install them directly from a website, but I'm not sure about Chrome).

By the way, I believe you can just Refresh (F5) the page without needing to restart the browser for the userscript to take effect. Razz


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Wed Dec 18, 2013 1:07 pm Profile PM MSN Skype
jacxxx
Earth Angel
Warnings:
Posts: 1308

Post Quote
ult_combo:
... according to the
Code:
[url=http://wiki.greasespot.net/Metadata_Block#.40version]docs[/url]
it allows Greasemonkey to auto-update userscripts ... I'm not sure about Chrome
Updating extensions is not my everyday job, awsome when such updates download and install automatically!

eh ... you should have used h**p://wiki.greasespot.net/Metadata_Block#.40version or hxxp://wiki.greasespot.net/Metadata_Block#.40version or something Laughing

Embarassed h**p doesn't show a clickable link Rolling Eyes


_________________
My avatar shows the first encounter of Yuki in the Land of Eternal Snow. Yuki would become my favorite character in the on-going Mystics Saga by arrancar85 In Love
Wed Dec 18, 2013 5:11 pm Profile PM
ult_combo
Matrix Angel
Warnings:
Posts: 1235

Post Quote
Yep, currently the plugin only has two features:
- Scans through all existing h..p links and anonymize them.
- Scans through all code blocks and creates new links from the URLs found:
Code:
h**p://google.com

I've noticed now that due to h**p not being a valid protocol our bbcode parser will not create links for it automatically. As those URLs are not linked, they will not go through the existing links scan.

Now, let's keep in mind that there's not only h**p, but h//p h~~p or anything else could be used as well to disguise the protocol.

So the options are:
- Modify the bbcode parser to be more permissive. However, I do not really want more invalid protocols to be put inside links.
- Apply something akin to the code block parsing algorithm to whole posts. Of course, code blocks are small and contain only text, so I took quite a few shortcuts there. This is not the case for whole posts which contain the generated markup and a lot more of text, so a recursive text node parsing algorithm would have to be applied and I'm not sure how that would affect the performance.

Note that this plugin is, and was since the beginning, an alpha experiment for the system that may replace hxxp.
Of course, once it is deployed to LAH, the anonymizer will be automatically applied to all external URLs and internal ones will be fixed to http (regular links). That is, we will no longer care about the protocol (whether it is hxxp h**p http or something else) but rather we will check whether the link's domain matches ours and provide anonymized URLs based on that.
Then we can be more permissive about h..p(s) protocols because these will only serve to determine whether the URL should use http or https, they will not be outputted to the thread view pages. In fact, there won't even be a need to use hxxp anymore then.


_________________
My main MF acc was suspended, use other mirrors until I re-up it all to a new host.



There is no knowledge that is not power.
Our only limitations are those we set up in our own minds.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs.
Programming is an art form, whose real value can only be appreciated by another versed in the same arcane art.
Thu Dec 19, 2013 4:29 am Profile PM MSN Skype
Display posts from previous:    
Options Quick Reply
Show Smilies

 
Compose reply Quick reply Little Angels Hentai Forum Index » Help and test-post forum All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to: 
You can post new threads in this forum
You can reply to threads in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Do not upload or mention any illegal content. Violators will be reported to the authorities. You are responsible for your uploads and actions.
If it is illegal for you to view adult lolikon material in your current location, leave this site immediately.
LAH is in compliance with DMCA.
LAH works best with JavaScript enabled. Enable it for a better experience. (´・ω・`)
Your browser is outdated and insecure! Please update your browser to fully enjoy LAH.