Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Yesterday at 4:56 PM
🔒 NordVPN Premium – 3 Months
hrdilshan
Updated:
Thursday at 8:29 PM
🚀 Microsoft Office 365 Pro Plus – Lifetime Access! 🚀
hrdilshan
Updated:
Thursday at 8:28 PM
Linkedin Premium Business / Careere /Sales Navigator - 1/2/3/6/9/12 Months - Reddem Link
hrdilshan
Updated:
Thursday at 8:27 PM
Colombo
YEYE 3 in 1 Instant Coffee Mix 50 Sachet
Romeshka
Updated:
Wednesday at 12:16 AM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Elakiri Lankawe Weda Karanawada?
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="RupiyalWissa" data-source="post: 12958209" data-attributes="member: 406981"><p>TRC eken kiyalalu SLT ekata elakiri.com ban karanna kiyala.</p><p></p><p>elakiri.lk eken giyahaki</p><p></p><p><a href="http://www.elakiri.lk/forum/showthread.php?t=1453951" target="_blank">http://www.elakiri.lk/forum/showthread.php?t=1453951</a></p><p></p><p></p><p>Also, for automatic redirection</p><p></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">1. Install Greasemonkey addon for firefox</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">You will get an addon icon with a monkey's face after installing</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">2. Click the down arrow to the right of the monkey's face and click "new user script"</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">3. Add any name you want. Set the namespace to <a href="http://www.elakiri.com/" target="_blank">www.elakiri.com</a> Keep other fields blank</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">4. I think you are asked to choose your text editor on the first run. Can't remember. Just select notepad (should be in C:\Windows\system32).</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">5. Add the following code below the line containing // ==/UserScript==</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">if(window.location.host=="www.elakiri.com"){</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> var currentURL = window.location.href;</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> //alert("currentURL=" + currentURL);</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> </span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> var URLParts = currentURL.split('/');</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> //alert("PartsURL[2]=" + URLParts[2]);</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> </span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> URLParts[2] = "www.elakiri.lk";</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> var newURL = URLParts.join('/');</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> //alert("newURL=" + newURL);</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> </span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"> window.location = newURL;</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">}</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">6. Browse ElaKiri.com as usual. Pages with elakiri.com in them will be redirected to elakiri.lk automatically.</span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid">You can do the same thing with Tampermonkey for Chrome. </span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p><p><span style="font-size: 18px"><span style="color: DarkOrchid"></span></span></p></blockquote><p></p>
[QUOTE="RupiyalWissa, post: 12958209, member: 406981"] TRC eken kiyalalu SLT ekata elakiri.com ban karanna kiyala. elakiri.lk eken giyahaki [url]http://www.elakiri.lk/forum/showthread.php?t=1453951[/url] Also, for automatic redirection [SIZE=5][COLOR=DarkOrchid]1. Install Greasemonkey addon for firefox You will get an addon icon with a monkey's face after installing 2. Click the down arrow to the right of the monkey's face and click "new user script" 3. Add any name you want. Set the namespace to [URL="http://www.elakiri.com/"]www.elakiri.com[/URL] Keep other fields blank 4. I think you are asked to choose your text editor on the first run. Can't remember. Just select notepad (should be in C:\Windows\system32). 5. Add the following code below the line containing // ==/UserScript== if(window.location.host=="www.elakiri.com"){ var currentURL = window.location.href; //alert("currentURL=" + currentURL); var URLParts = currentURL.split('/'); //alert("PartsURL[2]=" + URLParts[2]); URLParts[2] = "www.elakiri.lk"; var newURL = URLParts.join('/'); //alert("newURL=" + newURL); window.location = newURL; } 6. Browse ElaKiri.com as usual. Pages with elakiri.com in them will be redirected to elakiri.lk automatically. You can do the same thing with Tampermonkey for Chrome. [/COLOR][/SIZE] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom