Odd Squad Scanlations
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mobile testing for Cheese in the Trap

+3
irahzal
dian8214
Doonge
7 posters

Page 1 of 5 1, 2, 3, 4, 5  Next

Go down

Mobile testing for Cheese in the Trap Empty Mobile testing for Cheese in the Trap

Post  Doonge Thu Jan 07, 2016 1:54 pm

Here's the code for the bookmark.

Code:
javascript:(function(){var s=document.createElement('script');s.type='text/javascript';s.src='http://otoon-api.bumblebits.net/overtooning.js';document.body.appendChild(s);})();

You'll notice the only difference with the "old" bookmark is simply the URL.

This code is to be put as "address" field of a bookmark. Create a bookmark on your mobile device, then edit it. Put the code in the "address" field, and give it a proper name that is easy to type so you can call the bookmark easily while browsing with your mobile device.

Each time you access a foreign webpage that you think the bookmark can translate (naver.com for insance), call the bookmark.

The bookmark must be called on the current page! It must not open in a new one! Best way is to give the bookmark a name with a special character in front of it, like ".overtooning" or "@overtooning", so youjust have to write "." or "@" in the address bar to quickly see it appear.

Test it on http://m.comic.naver.com/webtoon/list.nhn?titleId=186811 first.


If you are using a low memory device, once you've noticed the code work, DO NOT RUN IT YET ON CHAPTERS.
First click on the Overtooning logo (the star in a bubble), and go to "settings".
There, you should be able to edit the "Memory Limit" value.

Mobile testing for Cheese in the Trap Memory-limit

The Memory Limit is to be fixed in Mega Pixels (1024 pixel wide x 1024 pixel big = 1 megapixel).
In the image, I set it to 5 (I have no idea yet what values are good for what device).

Even with a Memory limit, some chapters are loaded with BIG images. They WILL make your browser CRASH on low memory devices.

Chapters to avoid:
S1C0 to S1C37
S3C37
S3C42
S3C43
S3C47


Last edited by Doonge on Tue Jan 12, 2016 9:55 am; edited 2 times in total
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Awsderrr2222 Sun Jan 10, 2016 2:51 pm

How should I use the code?!!!

Awsderrr2222
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Sun Jan 10, 2016 3:27 pm

Oh ok I will detail how to use the code.

The code is what you should put as "address" for the bookmark.

I'll copy paste from the website guide ^^

You need to create a bookmark on mobile, and edit it so the "address" is this code. You should give it a name that is easy to type so you can access the bookmark fast.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  eleleo Sun Jan 10, 2016 5:17 pm

it doesn't work tho? I click the episode link and then it takes me to the chapter one... but then i click the bookmark thing and it translates that episode but it doesn't take me to the original chapter i clicked on...... this is making me crazy TTTT

eleleo
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Sun Jan 10, 2016 5:28 pm

If it loads a translation, then it means it partially works.
If it partially works, then I guess you see, amongst the stuff that is translated, the overtooning icon on the top left of the window. If you click on it, what do you see?

If you use the old bookmark code and not the new one (see the first post), then the bookmark will indeed load the wrong chapter (simply translate the chapter you were arrived on, and not load the proper one). If you use the old bookmark, clicking on the icon will show you directly some logs, filled with "overlayLoader ... stuff" lines.

However with the new bookmark, clicking on the icon bring a slightly different menu, with "Logs", "Setting", "Webtoon", "Feed", "Layout" and "Rough" options (and the name "overtooning 1.1.0").

If you think you use the new bookmark, can you give me the link that you are redirected to? I wanna know if it ends with an "#otoon=" thing at the end.
Also, if you see the new menu and the "Logs" options, can you give me what's written on it?

Thanks.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re

Post  EriNov Mon Jan 11, 2016 1:35 am

I'm curious if it can work at smartphone..
I tried using UC (I can't save the code as bookmark) and then OperaMini, and Chrome. I can saved the code, but when I tested on naver titleId=186811 , then go to bookmark and pressed the code bookmark, nothing happened.
Is there any setting to be done before? Or versions specifications..??

Thank you,,

EriNov
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Mon Jan 11, 2016 9:07 am

I don't know about UC and Opera Mini bookmarklet and/or userscript support.

It should work with Chrome however.

You can test this code to see if you are running everything correctly:

Code:
javascript:(function(){alert('I clicked a simple bookmarklet');})();

Create a bookmark and write this in, then go on any website and use this bookmark. If you see a window saying "I clicked a simple bookmarklet", then it means you did install it properly.

If you did install it properly and did the same thing with our own bookmarklet, please give more details about your device and the steps you took.


Last edited by Doonge on Tue Jan 12, 2016 9:29 am; edited 1 time in total
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Hello Mon Jan 11, 2016 11:45 am

I saved the link that you gave above into a bookmark, but when I trying to translate the page (cheese in the trap season 3 ch.1) it only shows ch.1 and didn't translate into English. Why is thus happening?

Hello
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Mon Jan 11, 2016 11:53 am

Hello wrote:I saved the link that you gave above into a bookmark, but when I trying to translate the page (cheese in the trap season 3 ch.1) it only shows ch.1 and didn't translate into English. Why is thus happening?

It could be many things, unfortunately you don't give me enough information for now ^^

First, try this code
javascript:(function(){alert('I clicked a simple bookmarklet');})();
Just to see if your browser supports bookmarklets (it should tell "I clicked a simple bookmarklet" whenever you call this bookmark).

If it works, it means bookmarklets should work and then maybe it's my script the problem.
In that case, please tell me which mobile device it is, and which browser.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re

Post  EriNov Tue Jan 12, 2016 9:28 am

Oh, this method called bookmarklet.. This is new for me,, Shocked  Laughing
I found on web how to do.. Then "voila" It's pop up,, I got a wrong turn.. I should have select/activate the bookmark code at the address bar directly,,  Embarassed

I made it to "I clicked a simple bookmarklet" and set the limit...
Then I try it to Naver CITT, S3C58, and it really works,, Very Happy

You're genius, using technology to its fullest.. Great work,,
#I envy you.. Very Happy

Thank you so much... Smile

EriNov
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Tue Jan 12, 2016 9:53 am

Thanks for the feedback, there's an interesting element.

I recall that in previous tutorials (for mobile), it was very important to give the bookmark a special name (starting with a special character like a dot: ".overtooning", or @: "@overtooning" because you'd have to type it in the address bar, indeed!).

I'll add this detail.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  thruvv Tue Jan 12, 2016 4:26 pm

(thruvv from the chat/shout box lol) anyways, ive read all the recent replies, tested out the simple bookmarklet (box did show up) & tried to reset the overtoom on the oddsquad page but images are still being squished, so I'll list out how I did things & hopefully it's just me being dumb lol
1 - open up the chapters, apply bookmark so the rest can appear
2 - click desired one
3 - apply bookmark on chapter
4 - images are squished

thruvv
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Tue Jan 12, 2016 5:22 pm

Hello thruvv

images being squished is a known current problem ^^

Could you remind me what device you use (apple or not?), and which browser.

It's likely not that relevant a question, but I've squashed a lot of possibilities and there's two remaining. If it's an apple related problem, there's one solution, otherwise there's another. Both will require me to fix the script so you'll have to retest again within a few days (I'll release other episodes and will say it's okay to test again).
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  thruvv Tue Jan 12, 2016 6:04 pm

iphone 5s (using chrome, not safari)

thruvv
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Tue Jan 12, 2016 7:34 pm

Thanks,

can you also copy paste the logs when you load a page and it's squished?

Find the overtooning icon top-left, then click on it and go to the logs, then copy paste the results.

Thanks.

Sometimes, the script does squish the images if it detects a retina display or dynamic resizing, and it tells so in the logs.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  thruvv Tue Jan 12, 2016 8:08 pm

ima post it in the chat since it won't let me post it here

thruvv
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Wed Jan 13, 2016 8:09 am

I've seen it, thanks.

It will help me.

For information, you can see the width and height modifiers in the log you gave, and they're widly different (it shouldn't be the case). I'll try to fix that upfront.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Wed Jan 13, 2016 8:24 am

Ok I've implemented a quick fix (not sure it will suffice).

Access this file first, and refresh it: http://otoon-api.bumblebits.net/overtooning.js
Make sure you see the OTOON_MESSSAGE with your name in it (thruvv), I put it in red here:
// ==UserScript==
// @name            overtoonin
// @namespace       http://www.bumblebits.net
// @author          doonge@oddsquad.org
// @version         1.1.0
// @description     Load overlay from scanlation teams while browsing original webtoons.
// @match           http://comic.naver.com/*
// @match           http://m.comic.naver.com/*
// @match           http://webtoon.daum.net/*
// @match           http://cartoon.media.daum.net/*
// @match           http://comico.toast.com/*
// @match           http://www.comico.jp/*
// @match           http://www.foxtoon.com/*
// @match           http://page.kakao.com/*
// @match           http://comics.nate.com/*
// @match           http://webtoon.olleh.com/*
// @match           http://ttale.com/*
// @match           http://www.lezhin.com/*
// @match           https://ex-ac.lezhin.com/*
// @grant           none
// ==/UserScript==

var OTOON_VERSION = '1.1.0';
var OTOON_MESSAGE = 'thruvv fix';
At the beginning.

Once it's done, please redo a test and copy paste again the log. If you want to copy paste them here, simply edit the URLs (you can't paste URLs I think) so they don't look like URLs.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Overtooning not working

Post  Dududu Wed Jan 13, 2016 10:08 am

Hey, so i applied the steps but when i used the bookmark after typing it in, nothing showed up and i wasnt able to scroll and click anything. It turns out that i was on a duplicate screwed up tab that was somehow created. Anyway, i tried the actual bookmark and also the test one. Im using chrome on a LG G4

Dududu
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Wed Jan 13, 2016 11:16 am

You mean that when you type a bookmark name in your browser, it's opened in a new tab?

I think in Chrome you have to open the address bar (behave as if you wanted to type a new URL in your browser), and type the name of your bookmark. Then you should see your bookmark name appear, and you click on that one. If you try to open your bookmark from the bookmark list, it might open it in a new tab and you don't want that.

Otherwise, I can't really help much, because I don't know how all browsers behave.

You can try to type the full address in the address bar (the whole code, starting with "javascript:"), instead of calling the bookmark, but that sounds annoying to me.

You can also try the sample code given in this thread (with an alert "i clicked on a bookmark" thing), to have an idea of what doesn't work (either your browser or the script itself).

Code:
javascript:(function(){alert('I clicked a simple bookmarklet');})();

Try this as address, then try it as bookmark.
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  thruvv Wed Jan 13, 2016 1:42 pm

Soo I think the squished images were my fault bc I messed around the w the overtoon settings, turned off ordered imaging, and now it works.
Thank you for your time though!

thruvv
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Wed Jan 13, 2016 3:43 pm

You mean it works now?

If you turn on and off the ordered imaging, does one of those options still squishes the images? Or is it unsquished now even for both options? I changed the code and maybe that's what fixed the problem. But if you say it's the ordered image option, then its important for me to know =p

Could you confirm if it works with the option on and off?
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  thruvv Wed Jan 13, 2016 4:25 pm

Jus tested; images squished when ordered is on "yes" but works on "no"

thruvv
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Doonge Wed Jan 13, 2016 4:26 pm

ok thanks ^^
Doonge
Doonge
Artisan
Artisan

Posts : 775
Join date : 2012-01-18

Back to top Go down

Mobile testing for Cheese in the Trap Empty so hard

Post  seolxjungforever Wed Jan 13, 2016 10:51 pm

i can not understand english very well and not good at computer either Suspect , seems like i'm the only one who have problem although you explained it Question . can you post some pictures to show me how to do each step:creat the new bookmark, and setting it and more. please held me, i love this manhwa so much. i use computer to read it, my enlish is good enough to read the manhwa but it's difficult for me to understand all what you've posted. thank you so much. Razz

seolxjungforever
Guest


Back to top Go down

Mobile testing for Cheese in the Trap Empty Re: Mobile testing for Cheese in the Trap

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 5 1, 2, 3, 4, 5  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum