`

Jump to content





การทำให้ PS VITA อ่านภาษาไทยในเวป พร้อมวิธีการ และชวนเพื่ีอนๆมาร่วมแก้โค้ดกัน


59 replies to this topic

#41 Burm

    เซียนเกม

  • Admin
  • 12067 posts
  • Gender:Male

Posted 02 May 2012 - 12:40 AM

css ตัวนี้อาจจะแทนของ web อื่นได้ไม่หมดครับ
อย่าง css ของ dgo นี่ผมต้องเพิ่ม class ของ title เข้าไป มันถึงจะอ่านได้
ถ้าไป web อื่นแล้วเจอกำหนด font ที่ class ก็อาจจะอ่านไม่ออกอยู่ดี

แต่จริงๆ คงไม่ค่อยมีหรอกครับ

ข้อเสียอีกข้อ คือ ต้องกด bookmarklet ตัวนี้ทุกครั้ง ที่เปลี่ยนหน้าน่ะครับ

#42 neokung

    นักเล่นเกมมือฉกาจ

  • Executive Members
  • PipPipPipPipPipPipPip
  • 693 posts

Posted 02 May 2012 - 12:45 AM

ผมเปิดหน้านั้นในvitaแล้ว ไม่เห็นมีPSVitaTubeDownloaderให้จิ้มค้างเลยอะครับ =="

#43 gt41

    เซียนเกม

  • High Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4593 posts
  • Gender:Male
  • Location:BKK

Posted 02 May 2012 - 12:46 AM

 Burm, on 02 May 2012 - 12:40 AM, said:

css ตัวนี้อาจจะแทนของ web อื่นได้ไม่หมดครับ
อย่าง css ของ dgo นี่ผมต้องเพิ่ม class ของ title เข้าไป มันถึงจะอ่านได้
ถ้าไป web อื่นแล้วเจอกำหนด font ที่ class ก็อาจจะอ่านไม่ออกอยู่ดี

แต่จริงๆ คงไม่ค่อยมีหรอกครับ

ข้อเสียอีกข้อ คือ ต้องกด bookmarklet ตัวนี้ทุกครั้ง ที่เปลี่ยนหน้าน่ะครับ


ใช่ครับคุณเบิ้ม css ไม่ครอบทั้งหมด แต่ผมเน้น อยากให้ไปต่อยอดกันต่อมากกว่าครับ
รักเวปไหน เข้าเวปไหนประจำก็ไปแต่ต่อทำไฟล์ css ไว้ใช้เองได้ ไม่ยาก

ส่วนข้อเสีย ก็ตามที่บอก เพราะเราไม่สามารถไป ให้อื่นๆ ยัด สคริปรัน font ได้ครับ
พอถูกๆไถๆ สำหรับคนใช้วีต้า เครื่องเดียว ส่วนคนที่มี แทป มี ไอ ทั้งหลาย มันก็คง
ไม่มีอะไรหน้าตื่นเต้น ..

#44 Burm

    เซียนเกม

  • Admin
  • 12067 posts
  • Gender:Male

Posted 02 May 2012 - 12:48 AM

 neokung, on 02 May 2012 - 12:45 AM, said:

ผมเปิดหน้านั้นในvitaแล้ว ไม่เห็นมีPSVitaTubeDownloaderให้จิ้มค้างเลยอะครับ =="

น่าจะผิดนิดนึงน่ะครับ แต่คุณ gt41 หมายถึงให้กด link ด้านบน ที่มี 3 link นั่นแหละครับ เลือกตัวใดตัวหนึ่ง

#45 gt41

    เซียนเกม

  • High Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4593 posts
  • Gender:Male
  • Location:BKK

Posted 02 May 2012 - 12:50 AM

 neokung, on 02 May 2012 - 12:45 AM, said:

ผมเปิดหน้านั้นในvitaแล้ว ไม่เห็นมีPSVitaTubeDownloaderให้จิ้มค้างเลยอะครับ =="


แก้ข้อความให้แล้วครับ พอดีผมไป ก๊อบ howto ของตัว youtube มา คิดว่าจะไม่ได้เขียนยาว แต่สุดท้ายก็ต้องเขียนเอง แล้วลืมแก้ข้อความ

:r05:

#46 neokung

    นักเล่นเกมมือฉกาจ

  • Executive Members
  • PipPipPipPipPipPipPip
  • 693 posts

Posted 02 May 2012 - 12:59 AM

ว้าว ได้แล้ว สุดยอดจริงๆครับ :wow2:

#47 gt41

    เซียนเกม

  • High Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4593 posts
  • Gender:Male
  • Location:BKK

Posted 02 May 2012 - 01:03 AM

 neokung, on 02 May 2012 - 12:59 AM, said:

ว้าว ได้แล้ว สุดยอดจริงๆครับ :wow2:


มีคนที่ได้ใช้งานสิ่งที่เราทำผมก็ดีใจครับ :cry:

#48 kattys

    นักเล่นเกมชั้นครู

  • Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2234 posts

Posted 02 May 2012 - 01:20 AM

ได้แล้วขอบคุณมากเลย

#49 sifer2002

    นักเล่นเกมมือโปร

  • Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1767 posts

Posted 02 May 2012 - 09:29 AM

แหล่มเป็ดอีกละอาหนุ่ม
ปล. ยังไม่ได้สอย Vita เยยอ่ะ T^T

#50 Sirn

    นักเล่นเกมมือใหม่

  • Members
  • Pip
  • 3 posts

Posted 02 May 2012 - 11:12 AM

ขอแจมนิดนึง

สงสัยว่าถ้าหากเปลี่ยนเป็น appendChild ใส่ใน <head> น่าจะทำให้ใช้กับหลากเว็บมากขึ้นหรือเปล่า (เพราะบางเว็บก็ไม่ได้ใช้ table)
หรือว่าบราวเซอร์ใน Vita มันมีข้อจำกัดอะไรให้ทำไม่ได้หรือเปล่า... แต่เหมือนว่า Tube Downloader ก็ใช้วิธีนี้นะ

javascript:(function(){var l = document.createElement('link');l.setAttribute('rel', 'stylesheet');l.setAttribute('href', 'http://www.addictconsole.com/thaiVita.css');document.getElementsByTagName("head")[0].appendChild(l);})();[/size][/font][/color][color=#000000][font=Menlo, monospace][size=2]


(ขยาย)

var link = document.createElement('link');
link.setAttribute('rel', 'stylesheet');
link.setAttribute('href', 'http://www.addictconsole.com/thaiVita.css');
document.getElementsByTagName("head")[0].appendChild(link);


ส่วนปัญหาที่คุณ Burm บอก ลองเปลี่ยน CSS ตรงส่วน body, p, ... กับ b ข้างล่างเป็น

body { font-family: MyCustomFont, Verdana, Arial, sans-serif !important;[/size][/font][/color] }
[color=#000000][font=Menlo, monospace][size=2]* { font-family: MyCustomFont, Verdana, Arial, sans-serif !important; }


น่าจะช่วยให้ทำให้ใช้งานหลากเว็บมากขึ้นโดยไม่ต้องแก้ไปแก้มา

โอ ให้ตายสิ ก็อปแปะแล้วมีอะไรติดมาไม่รู้เต็มไปหมด ขอลองใหม่อีกรอบนะครับ

body { font-family: MyCustomFont, Verdana, Arial, sans-serif !important; }
* { font-family: MyCustomFont, Verdana, Arial, sans-serif; }


#51 gt41

    เซียนเกม

  • High Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4593 posts
  • Gender:Male
  • Location:BKK

Posted 02 May 2012 - 11:56 AM

 Sirn, on 02 May 2012 - 11:12 AM, said:

ขอแจมนิดนึง

สงสัยว่าถ้าหากเปลี่ยนเป็น appendChild ใส่ใน <head> น่าจะทำให้ใช้กับหลากเว็บมากขึ้นหรือเปล่า (เพราะบางเว็บก็ไม่ได้ใช้ table)
หรือว่าบราวเซอร์ใน Vita มันมีข้อจำกัดอะไรให้ทำไม่ได้หรือเปล่า... แต่เหมือนว่า Tube Downloader ก็ใช้วิธีนี้นะ

javascript:(function(){var l = document.createElement('link');l.setAttribute('rel', 'stylesheet');l.setAttribute('href', 'http://www.addictconsole.com/thaiVita.css');document.getElementsByTagName("head")[0].appendChild(l);})();[/size][/font][/color][color=#000000][font=Menlo, monospace][size=2]


(ขยาย)

var link = document.createElement('link');
link.setAttribute('rel', 'stylesheet');
link.setAttribute('href', 'http://www.addictconsole.com/thaiVita.css');
document.getElementsByTagName("head")[0].appendChild(link);


ส่วนปัญหาที่คุณ Burm บอก ลองเปลี่ยน CSS ตรงส่วน body, p, ... กับ b ข้างล่างเป็น

body { font-family: MyCustomFont, Verdana, Arial, sans-serif !important;[/size][/font][/color] }
[color=#000000][font=Menlo, monospace][size=2]* { font-family: MyCustomFont, Verdana, Arial, sans-serif !important; }


น่าจะช่วยให้ทำให้ใช้งานหลากเว็บมากขึ้นโดยไม่ต้องแก้ไปแก้มา

โอ ให้ตายสิ ก็อปแปะแล้วมีอะไรติดมาไม่รู้เต็มไปหมด ขอลองใหม่อีกรอบนะครับ

body { font-family: MyCustomFont, Verdana, Arial, sans-serif !important; }
* { font-family: MyCustomFont, Verdana, Arial, sans-serif; }


ที่ผมลองทำมา รู้สึกว่า โค้ดส่วน

document.getElementsByTagName("head")[0]

จะใช้บนวีต้าไม่ได้นะคัรบ แต่ยังไง ลองกันดูด้วยก็ดีครับ ผมทำไว้หลายแบบ แต่บางแบบใช้บน filefox ได้ แต่รันบนวีต้าไม่ได้ ถึงต้อง
ไว้วกกลับมา แก้ที่ตารางเอานี้ล่ะครับ

ผมว่ากระทู้นี้น่าจะช่วยๆกันดู ช่วยกันลองครับ ผมเองก็ไม่ได้เขียน java script เป็นอะไรมากมาย แค่ดูได้เท่านั้นนะครับ
มาช่วยกันดูครับ จะได้มีโค้ดดีๆ ออกมาใช้กัน

#52 seed-destiny

    นักดองเกมระดับตำนาน

  • Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1646 posts
  • Gender:Male

Posted 02 May 2012 - 03:48 PM

สวดยอดเลยท่าน

#53 ryuichi199999

    นักเล่นเกมฝึกหัดระดับ 1

  • Members
  • PipPip
  • 23 posts

Posted 02 May 2012 - 05:17 PM

ลองกับ Fackbook อ่านไทยได้แล้วครับ ถึงแม้ต้องเข้าผ่าน Browser ก็เถอะ

ถือเป็นก้าวที่สำคัญจิงๆ ครับ

ขอบคุณครับ

#54 jokeza

    ILLSLICK

  • High Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3462 posts
  • Gender:Male
  • Interests:All Console Football

Posted 02 May 2012 - 07:49 PM

ทำได้แล้ว ผมทำอันที่3

ขอบคุณมากๆๆๆๆครับ

Edited by jokeza, 02 May 2012 - 10:00 PM.


#55 wat2011

    นักเล่นเกมระดับสูงชั้นที่ 2

  • Royal Executive Members
  • PipPipPipPipPipPipPipPipPip
  • 1191 posts
  • Gender:Male
  • Interests:3ds vita xbox 360 ps3

Posted 02 May 2012 - 07:53 PM

สมบูรณ์เมื่อไหร่ลงกระทู้แจ้งอีกทีครับ

#56 godkap

    นักเล่นเกมชั้นครู

  • Royal Executive Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2128 posts
  • Gender:Male

Posted 03 May 2012 - 01:45 PM

สุดยอดไปเลยท่าน แต่ผมไม่มี วีต้าร์ อ้ากอยากได้มาเล่น facebook

สุดยอดไปเลยท่าน แต่ผมไม่มี วีต้าร์ อ้ากอยากได้มาเล่น facebook

#57 tum_ps3

    นักเล่นเกมมือฉกาจ

  • Freshy
  • PipPipPipPipPipPipPip
  • 661 posts
  • Gender:Male
  • Location:BKK

Posted 06 May 2012 - 12:19 PM

สุดยอดครับ ขอบคุณมากๆครับ

แต่ผมทำเท่าไหร่ก็ไม่ได้ซักที งงมาก

ไม่รู้ตั้งตรงไหนผิด T_T

#58 AL EDEN

    นักเล่นเกมฝึกหัดระดับ 2

  • High Members
  • PipPipPip
  • 72 posts
  • Gender:Male
  • Location:BKK

Posted 26 May 2012 - 11:51 PM

สุดยอดครับ ขอยคุณที่ทำมาให้ทุกคนได้ใช้ประโยชน์กัน

#59 HavocN

    นักเล่นเกมฝึกหัดระดับ 3

  • Freshy
  • PipPipPipPip
  • 140 posts

Posted 29 July 2012 - 04:36 PM

เจ๋งมากครับ เก่งแท้คนไทย อิอิอิ

#60 EkkAriya

    นักเล่นเกมมือใหม่

  • Freshy
  • Pip
  • 9 posts

Posted 30 July 2012 - 01:35 PM

ขอบคุณครับ เดี๋ยวกลับไปรีบทำเลย
พก vita แทน ipad ^^