General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=siria] You'll have to try with ordinary html-codes for styling (color etc.), the stuff you see in the source code of html-pages. Don't know much about it, so would have to research myself, so you can do it just as well ;-) Hey, am just a little user dabbling a bit with macrolanguage, not a developer :P As for placement, let me split that code line into several lines for better understanding: [color=blue]$_code=" var x=document.body.innerHTML; document.body.innerHTML='[b][u]URL: ' + document.location + '<br><hr>[/u][/b]' +x ; document.close();"; [/color] document.location = the URL http://www... ("document.URL" works too, if you prefer) document.body.innerHTML = that is the whole content of the current page. The "var" line stores it into a variable named "x". The "URL: " part is free text. [b]The bold, underlined code is the html-code that gets inserted[/b], and the doc-location is replaced with the URL. The "+x" means to append the original page content afterwards. You can move the <hr> line before the free text to place it before it, and insert another line break <br> before too. So you could use something like this to place the new text at the bottom: [color=blue]document.body.innerHTML= x + '[b][i]<br><hr>Saved From: ' + document.URL[/i][/b] ;[/color][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development