Month's top: Nobody yet!
Want LAH to translate a manga for you?
Little Angels Hentai Forum Index
Which one do you want?
×
The notification boxes have arrived! Read for more info!
1 Unread Announcement
PLEASE LOG IN OR REGISTER TO BE ABLE TO SEE THE PICTURES AND ATTACHED FILES!
Q's about direct linking prevention
Goto page Previous  1, 2, 3  Next
 
Reply to topic    Little Angels Hentai Forum Index » Help and test-post forum View previous topic
View next topic
DMCA
Q's about direct linking prevention
Author Message
fijneman
Solar Angel
Warnings: Warning
Posts: 1836

Post Reply with quote
install Greasemonkey plugin for Firefox, now u can press "install" button. dunno about google chrome or other browsers

Thu Jun 21, 2012 11:01 am View user's profile Send private message
jacxxx
Exalted Angel
Warnings:
Posts: 1164

Post Reply with quote
jacxxx:
ult_combo:
Alright, as requested by @fijneman, the UserScript to turn LAH's hxxp links clickable:
Code:
http://userscripts.org/scripts/show/136654
I opened your userscript and source code, but... how do I implement it in my browser?
fijneman:
install Greasemonkey plugin for Firefox, now u can press "install" button. dunno about google chrome or other browsers
Thanks, fijneman. Following your red arrow in your illuminating attachment I'm lead to this opera help page --> hxxp://www.opera.com/docs/userjs/using/#writingscripts
When I have more time I'll make a little study first before I try to install ...


_________________
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
Thu Jun 21, 2012 1:08 pm View user's profile Send private message
ult_combo
Matrix Angel
Warnings:
Posts: 1101

Post Reply with quote
Yes, Chrome has native support for UserScripts (just click the big green Install button and confirm), Firefox requires the Greasemonkey addon installed as pointed out by Fijneman and other browsers require different addons/plugins/configs.


_________________
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 Jun 21, 2012 5:32 pm View user's profile Send private message MSN Messenger Skype Name
Sat
Star Angel
Warnings:
Posts: 7032

Post Reply with quote
It seems to look like he is using Opera.


_________________

Some people say, universe is a Star Ocean!
Latest LAH Blog post: In need of a cleanup from 29th June

Can't use Moneybookers or Payza? PM me for alternative donation ways

Got a suggestion on how we can improve LAH? Post it here or vote for other people's suggestions!
Thu Jun 21, 2012 9:37 pm View user's profile Send private message Visit poster's website Skype Name
jacxxx
Exalted Angel
Warnings:
Posts: 1164

Post Reply with quote
Yes, some time ago firefox became too slow on my old LAHtop. BTW: couldn't you install ult's code into LAH itself?


_________________
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
Thu Jun 21, 2012 10:02 pm View user's profile Send private message
Sat
Star Angel
Warnings:
Posts: 7032

Post Reply with quote
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.

Until the next two planned projects are finished, there will not be an internal change in link handling.


_________________

Some people say, universe is a Star Ocean!
Latest LAH Blog post: In need of a cleanup from 29th June

Can't use Moneybookers or Payza? PM me for alternative donation ways

Got a suggestion on how we can improve LAH? Post it here or vote for other people's suggestions!
Thu Jun 21, 2012 10:44 pm View user's profile Send private message Visit poster's website Skype Name
ult_combo
Matrix Angel
Warnings:
Posts: 1101

Post Reply with quote
jacxxx:
Yes, some time ago firefox became too slow on my old LAHtop.
Yes, nowadays Firefox takes too much RAM from the computer and processes slower than Chrome, don't even think about trying a Nightly release if the stable release is slow for you. Razz

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.

Until the next two planned projects are finished, there will not be an internal change in link handling.
Yes, those are a couple points. Not to mention, some people dislike going through a referer service for every link and I wouldn't feel like forcing them to. 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. I guess we might take a look on that after the 2 current projects. Very Happy


_________________
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.
Fri Jun 22, 2012 2:02 am View user's profile Send private message MSN Messenger Skype Name
Sat
Star Angel
Warnings:
Posts: 7032

Post Reply with quote
Well, I was initially not too happy about you publishing it, but imo, it keeps what we need so there are no concerns, objectively seen.


_________________

Some people say, universe is a Star Ocean!
Latest LAH Blog post: In need of a cleanup from 29th June

Can't use Moneybookers or Payza? PM me for alternative donation ways

Got a suggestion on how we can improve LAH? Post it here or vote for other people's suggestions!
Fri Jun 22, 2012 3:03 pm View user's profile Send private message Visit poster's website Skype Name
frzangel
No Life Angel
Warnings: Warning
Posts: 4195

Post Reply with quote
I use your plugin Ulty and I love it... the browsing became a lot more easier. I can even browse LAH while laying in the bed. Thank you very much! (:

BTW I haven't found any bug yet.


_________________

DON'T ASK FOR PASS IN PM! READ THE RULES AND FAQ!
Fri Jun 22, 2012 4:08 pm View user's profile Send private message
ult_combo
Matrix Angel
Warnings:
Posts: 1101

Post Reply with quote
frzangel:
I use your plugin Ulty and I love it... the browsing became a lot more easier. I can even browse LAH while laying in the bed. Thank you very much! (:

BTW I haven't found any bug yet.
No prob. Smile

Yes, I tested it extensively in FF and Chrome, the bugs which I referred to were all related to links inside code blocks, more specifically multiple links in a single line (which is very rare) AND only when those links would include an URL with the current www. hotlinking bug. I've fixed that by adding an extra capturing group to my regex and an IF check in the beginning of the replace function to ignore those, obviously this will probably require patching once the www. hotlinking inside code blocks gets fixed. Smile

Of course, I might have missed some other minor bugs, so report if you find any. Wink


_________________
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.
Fri Jun 22, 2012 9:05 pm View user's profile Send private message MSN Messenger Skype Name
jacxxx
Exalted Angel
Warnings:
Posts: 1164

Post Reply with quote
@ult: I didn't succeed with my opera yet (I don't have Chrome, that one was sometimes executing javascripts endlessly). I pasted your code in a copied and emptied js file using notepad, and it seems a correct user.js file now in the correct directory, but it's not executed. May be my settings... . To be continued ...

edit: working on another PC working with Chrome I could install it in seconds.
Trying out the (opera) hxxp address above and ... it didn't work Crying or Very sad
Checking the extension list --> everything should be ok!
Trying another hxxp (the first one on the previous page, to wikipedia) it did work.
Trying again the opera hxxp --> it does work now!

edit2: Searching for a ....user.js on this PC (so I could try that on my lahtop) but it's not there.
Apparently Chrome stores the script in another way.

@frz: It seems ults script was just in time. Hope you're out of bed again soon!

edit: I just saw you are active as usual, perhaps even more Very Happy


_________________
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 Jun 23, 2012 5:40 am View user's profile Send private message
ult_combo
Matrix Angel
Warnings:
Posts: 1101

Post Reply with quote
I don't really like Opera, don't get me wrong, it just hangs up my comps and take forever to load basically every page (hopefully it gets more improvements once FB buys it). But well, I'll download the latest version and try to install the script to write a step-by-step guide. Smile

For Opera:

1. Create a folder for your usescripts. For this example, I'll create a folder named "userscripts" in the root of the C: partition. So, (for Windows 7, similar to XP/8/Vista) open My Computer > C:/ > Right click in the blank space and select New > Folder (or simply click the "New folder" button located in the menu bar right below the Windows Explorer address bar) and name the folder "userscripts".

2. With the userscripts folder created, let's get a copy of the userscript. Open my script's userscript.org page, then right-click the big green "Install" button and click "Save Linked Content As". A dialog will ask where you want to save it, go to C:/userscripts (or whichever folder you chose) and press the Save button.

3. Now that you have an userscripts folder and the script inside of it, all you have to do is follow the instructions from your linked page. Open the Opera menu > Settings > Preferences > Advanced > Content > JavaScript options, at the side of the "User JavaScript folder" field, click in the "Choose..." button. It'll bring another dialog screen, select C:/userscripts (or whichever folder you chose) and press OK, Then confirm the changes in the JavaScript options screen by pressing OK and press OK yet another time in the Preferences screen.

If you did everything correctly, just refresh (F5) your LAH page and the hxxp links as well as links inside code blocks will be clickable now as well, just tested it on Opera 12. Smile

ps. Sorry if I'm overly detailed in some parts, I've been writing tutorials for years which means I've heard enough "not specific enough" comments on my tutorials, so I tend to go in a very detailed writing mood when I start writing tutorials now. 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.


Last edited by ult_combo on Mon Jul 02, 2012 8:31 pm; edited 1 time in total
Sat Jun 23, 2012 7:15 pm View user's profile Send private message MSN Messenger Skype Name
jacxxx
Exalted Angel
Warnings:
Posts: 1164

Post Reply with quote
Thanks very much, ult. I'll do it exactly as you did as soon as I have a chance!


_________________
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
Mon Jun 25, 2012 5:09 pm View user's profile Send private message
jacxxx
Exalted Angel
Warnings:
Posts: 1164

Post Reply with quote
ult_combo:
For Opera:

1. Create a folder for your usescripts. --> ok
2. Open my script's userscript.org page, then right-click the big green "Install" button and click "Save Linked Content As". A dialog will ask where you want to save it, go to C:/userscripts (or whichever folder you chose) and press the Save button. Works different in my version, but no problem; shouldn't you have used hxxp in your link?

3. Open the Opera menu > Settings > Preferences > Advanced > Content > JavaScript options ... ok

4. If you did everything correctly, just refresh (F5) your LAH page and the hxxp links as well as links inside code blocks will be clickable now as well, just tested it on Opera 12. Smile --> ok Very Happy

ps. Sorry if I'm overly detailed in some parts, I've been writing tutorials for years which means I've heard enough "not specific enough" comments on my tutorials, so I tend to go in a very detailed writing mood when I start writing tutorials now. --> I love details, it's better to have 10 extra than 1 short ..
Installation without any problem whatsoever now Very Happy Very Happy

Before I try something stupid: could your other 2 LAH-scripts be useful to me? (I guess so, they have been downloaded 130 and 140 times) If so, how? 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


Last edited by jacxxx on Tue Jul 03, 2012 7:08 am; edited 1 time in total
Mon Jul 02, 2012 6:10 pm View user's profile Send private message
ult_combo
Matrix Angel
Warnings:
Posts: 1101

Post Reply with quote
jacxxx:
Works different in my version, but no problem; shouldn't you have used hxxp in your link?
Absolutely right, no idea how I overlooked that. Razz Fixed now.

jacxxx:
Installation without any problem whatsoever now Very Happy Very Happy

Before I try something stupid: could your other 2 LAH-scripts be useful to me? (I guess so, they have been downloaded 130 and 140 times) If so, how? Rolling Eyes
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

All you have to do is repeat the step #2 for installation it seems (followed by a page refresh [F5]), as long as you right-click the Install button and save the .user.js file to your already configured folder, Opera should automatically load it up. Razz

The details about the difference between the 2 can be found here.


_________________
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 Jul 02, 2012 8:34 pm View user's profile Send private message MSN Messenger Skype Name
Display posts from previous:    
Options Quick Reply
Show Smilies

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

 
Jump to: 
You can post new topics in this forum
You can reply to topics 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.