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
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Monday at 12:26 PM
Ad icon
Colombo
Hard Disk For Sale
mazza
Updated:
Saturday at 10:23 PM
land for sale
justasking
Updated:
Saturday at 9:32 AM
AMD AM 5 Ryzen setup
prabodhamadusanka
Updated:
Thursday at 12:56 PM
Gampaha
ACER OKW223 Wired RGB Keyboard
chint
Updated:
Thursday at 10:17 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
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom