কি অবস্থা সবার, আমি বেশিরভাগ সময় এই ফোরাম মোবাইলেই ব্যবহার করি। কিন্তু মোবাইলে ব্যবহার করার সময় একটি প্রবলেম ফেইস করতে হয় সেটি হলো। বারে বারে জুম করে পোস্ট গুলো পড়তে হয়। এটা খুবই বিরক্ত লাগে আমার কাছে। তাই কি করবো ভাবতে AI এর সহায়তায়, নিজের জন্য একটি custom জাভাস্ক্রিপ্ট ফাইল বানিয়ে ফেললাম।এটির কারণে এখন আমার আর জুম করে ফোরাম এক্সপ্লোর করতে হয় না।তাছারাও ফন্টগুল এখন অনেক বড় বড় হওয়ার খুব সহজেই এখন আমি পোস্ট পড়তে পারি। সাথে ডার্ক মুড ও আছে। এটি শুধুমাত্র আমি আমার মোবাইলের ব্যবহার করতেছি জানিনা কার মোবাইলে কিরকম চলবে।
ব্যবহার করার ধাপ : যেহেতু kiwi ব্রাউজার এখন প্লেস্টোর এ নাই। তাই এর বিকল্প হিসেবে আমি Via ব্রাউজার ব্যবহার করেছি। এটি অনেক লাইটওয়েট এবং অনেক কাস্টোমাইজেশনের আছে।
Via browser link :
https://play.google.com/store/apps/details?id=mark.via.gp&hl=enআর যদি kiwi ব্রাউজার ব্যাবহার করেন তাহলে প্রসেস সেইম শুধু আপনাকে Tampermonkey অথবা Voilentmonkey এক্সটেনশন ব্যাবহার করতে হবে।
লাইট মুডের জন্য স্ক্রিপ্টঃ
// ==UserScript==
// @name Bitcointalk Mobile
// @namespace https://bitcointalk.org
// @version 1.0
// @description Improves readability on bitcointalk.org for mobile
// @author Royal Cap
// @match https://bitcointalk.org/*
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
GM_addStyle(`
html, body {
width: 100% !important;
max-width: 100vw !important;
overflow-x: hidden !important;
margin: 0 !important;
padding: 5px !important;
}
@media screen and (max-width: 768px) {
head {
display: contents;
}
head::before {
content: '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">';
}
}
body, p, td, tr, div, span, a {
font-size: 105% !important;
line-height: 1.4 !important;
}
a:link, a:visited {
text-decoration: underline !important;
}
a:hover {
text-decoration: none !important;
}
.post h4, .post h5 {
font-size: 22px !important;
font-weight: bold !important;
}
.smalltext, .quote, .code {
font-size: 20px !important;
}
.quote, .code {
border: 1px solid #ccc !important;
padding: 10px !important;
}
table {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
td {
word-wrap: break-word !important;
max-width: 100% !important;
}
img {
max-width: 100% !important;
height: auto !important;
}
.nav, #header, #footer {
font-size: 18px !important;
width: 100% !important;
}
input, textarea, select {
border: 1px solid #aaa !important;
padding-right: 30px !important;
}
textarea {
font-size: 100%;
font-family: verdana, sans-serif;
width: 70% !important;
}
element.style {
width: 10ex;
}
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
font-style: normal;
border-bottom: none;
border-top: none;
padding-left: 0;
padding-right: 0;
}
span.prevnext a:link {
font-size: 400% !important;
}
`);
})();
ডার্ক মুডের জন্য স্ক্রিপ্টঃ
// ==UserScript==
// @name Bitcointalk Mobile (Dark Mode)
// @namespace https://bitcointalk.org
// @version 1.0
// @description Improves readability on bitcointalk.org for mobile and applies a dark theme
// @author Royal Cap
// @match https://bitcointalk.org/*
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
GM_addStyle(`
html, body {
width: 100% !important;
max-width: 100vw !important;
overflow-x: hidden !important;
margin: 0 !important;
padding: 5px !important;
background-color: #121212 !important;
color: #e0e0e0 !important;
}
@media screen and (max-width: 768px) {
head {
display: contents;
}
head::before {
content: '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">';
}
}
body, p, td, tr, div, span, a {
font-size: 105% !important;
line-height: 1.4 !important;
color: #e0e0e0 !important;
background-color: #1e1e1e !important;
}
a:link, a:visited {
color: #81d4fa !important;
}
a:hover {
color: #ffffff !important;
}
.windowbg, .windowbg2, .post, .tborder, .titlebg, .windowbg3, .maintab_back, .middletext, .titlebg, .titlebg2, .td, .catbg2 {
background-color: #1e1e1e !important;
color: #e0e0e0 !important;
background: #1e1e1e !important;
}
.post h4, .post h5 {
font-size: 22px !important;
font-weight: bold !important;
color: #ffffff !important;
}
.smalltext, .quote, .code {
font-size: 20px !important;
color: #b0b0b0 !important;
background-color: #1e1e1e !important;
}
.quote, .code {
background-color: #2c2c2c !important;
border: 1px solid #444 !important;
padding: 10px !important;
}
table {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
td {
word-wrap: break-word !important;
max-width: 100% !important;
}
img {
max-width: 100% !important;
height: auto !important;
}
.nav, #header, #footer {
font-size: 18px !important;
width: 100% !important;
background-color: #1a1a1a !important;
color: #ccc !important;
}
input, textarea, select {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border: 1px solid #555 !important;
padding-right: 30px !important;
}
textarea {
font-size: 100%;
color: #000000;
font-family: verdana, sans-serif;
width: 70% !important;
}
.catbg, tr.catbg td, .catbg3, tr.catbg3 td {
background: #1e1e1e !important;
}
element.style {
width: 10ex;
}
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
color: black;
font-style: normal;
background: inherit;
background-color: #15181a;
border-bottom: none;
border-top: none;
padding-left: 0;
padding-right: 0;
}
span.prevnext a:link {
font-size: 400% !important;
}
`);
})();
স্টেপগুলোঃ
১. প্রথমে ব্রাউজার ওপেন করবেন।
২. নিচের 3 ডট এ ক্লিক করে সেটিংস এ যাবেন
৩. সেখানে স্ক্রীপ্ট নামে একটি অপশন আছে, সেখানে ক্লিক করবেন।
৪. তারপর উপরের + আইকনে ক্লিক করে অ্যাড নিউ স্ক্রীপ্ট এ ক্লিক করবেন।
৫. সেখানে উপরের দেয়া স্ক্রীপ্ট কপি করে,পেস্ট করে দিবেন, সব করে দিবেন ( আপনার যদি ডার্ক মুড ভাল লাগে তাহলে ডার্ক মুডের স্ক্রিপ্ট কপি করবেন, আর লাইট মুডের জন্য লাইটমুডের স্ক্রিপ্ট কপি করবেন।)
৬. তারপর আবার সেই সেভ করা স্ক্রীপ্ট এর উপর ক্লিক করবেন।
ব্যাস আপনার কাজ শেষ। এখন ফোরার মোবাইলে এক্সপ্লোর করুন কোনো ঝামেলা ছাড়াই।
কিছু ছবি এই স্ক্রিপ্ট আপ্পলাই করার পরে। হোম পেজঃ
বোর্ড পেজঃ
টপিক পেজঃ
রিপ্লে পেজঃ
অন্যজনের প্রোফাইলঃ
ডার্ক মুড আপ্পলাই করার পরের কিছু ছবিঃ
এটি আমার কাজকে সহজ করায় আপনাদের সাথে শেয়ার করলাম। যদি কোনো ভুল হয়ে থাকে তাহলে ক্ষমাসুন্দর দৃষ্টিতে দেখবেন।
আমি চেস্টা করবো ভবিষ্যতে আরো শিখে এইরকম কাজের স্ক্রিপ্ট বানানোর।
ধন্যবাদ
এখানে আমার ইংলিশ পোস্টের লিঙ্ক চাইলে সেটিও দেখতে পারেনঃ
https://bitcointalk.org/index.php?topic=5545511.0