Recent posts by Pnoexz
|
Aug 20, 2008
|
Topic: Script development / MySpace Private Profiles No, Greasemonkey cant do that. |
|
Aug 19, 2008
|
Topic: Ideas and script requests / remove html comment? You should contact them and tell them that you cant see the page properly because of that. They will mostlikely fix it theirselves. |
|
Aug 19, 2008
|
Topic: Ideas and script requests / Make script that working for website to Greasemonkey script Tell me the page where this works, what it does and ill compile it for you. |
|
Aug 18, 2008
|
Topic: Ideas and script requests / Current POPUNDER junk Where do you have to click to get this popup? |
|
Aug 17, 2008
|
Topic: Userscripts.org discussion / Proposal: all scripts by a user must have unique names @Lucideer Actually it does have 40 characters, dont count the (in google) part as its not on the description. And feedback is the best way to improve ourselves. |
|
Aug 17, 2008
|
Topic: Userscripts.org discussion / Proposal: all scripts by a user must have unique names 0 - This should only apply to the same user, and several characters are a lot if you see it in the "Admin scripts" under the Greasemonkey menu in Tools. Not to mention that scripts can be described with less characters perfectly; as William of Ockham said: "Never increase, beyond what is necessary, the number of entities required to explain anything" Lets take one of my scripts as an example. With this script you can see google's search result in two columns, instead of just one that makes you scroll down a lot to get to the "lastest" results. Is there a better way to explain what it does than "Shows the search results (in google) in two columns"? It has 40 characters (counting white spaces) and i feel like theres nothing RELEVANT to add (and this is not the simplest/easily explained userscript, at all). The idea (at least mine) of making userscript is to make "our web" better, and not only for ourselves, but for the rest of the Greasemonkey users. If you can not determine what the script does from the description written by the maker, then dont install it. Leave the script writter a comment stating that you didnt install it because you didnt know what it did because the description wasnt properly written. This will most likely make him review the description. After all, we all want to feel useful. |
|
Aug 16, 2008
|
Topic: Script development / Inserting Greasemonkey scripts into HTML pages. You need to parse it this way: <script type="text/javascript"> CODE CODE CODE </script> XPaths dont work on IE. GM_* wont work. |
|
Aug 16, 2008
|
Topic: Ideas and script requests / Is there a? Childish? Id say more like illegal. No, there isnt and even if there was, you wouldnt get it from here. |
|
Aug 15, 2008
|
Topic: Userscripts.org discussion / W3C Markup Validation I have noticed that userscripts.org is made with XHTML 1.0 Transitional, but some pages have a few errors. I havent seen a page with more than 10 errors and they are very simple to fix. All the pages i make are valid XHTML 1.0 Transitional and im experienced enough to make any invalid markup valid. I have also made an userscript which shows how many errors are found in the title of the document. If theres anything i could help you to pass the validation let me know. As a field note, i know PHP, MySQL, JavaScript, (X)HTML and CSS, and ill be glad to help in any way with userscripts.org |
|
Aug 13, 2008
|
Topic: Ideas and script requests / ?.jpg Im not sure how it is an useful script, but ive put JoeSimmons' code into a .user.js file so you can install it without having to do it yourself :P |
|
Mar 28, 2008
|
Topic: Script development / Changing elements style with a click Im trying to do a script to change some div elements' style. The thing is that i need to add a buton or something similar somewhere to change the style an back to normal. Ive tried to do this but i cant find a way. Is there any way to do this? |
|
Mar 24, 2008
|
Topic: Script development / Avoid using unsafewindow Ive tried setting the href to 'javascript:void(hidemenu())' and doesnt work. This script bascially works as an expander, but i cant make it 'refresh' the page and change the style of divs elements with a link element without using unsafeWindow. Ill edit the first post and add the full code and fix the < and > on the code. |
|
Mar 24, 2008
|
Topic: Script development / Avoid using unsafewindow I was wondering if theres a way to avoid using the unsafewindow in this case. Note that the script works perfectly fine.
(function() {
var idtbc = document.getElementById('ThemeboxesColumn'); if (idtbc) { idtbc.style.display = 'none' }
var idcc = document.getElementById('ContentColumn'); if (idcc) { idcc.style.marginRight = 0 }
var ahfilter = window.location.href.split('=')[1]
if ( ahfilter == 'new_thread&boardid' || ahfilter == 'new_post&threadid' || ahfilter == 'quote&postid' || ahfilter == 'edit_post&postid' ) { return }
var getadivbc = document.evaluate("//div[@class='BoxContent']",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null)
for (var i = 0; i < getadivbc.snapshotLength; i++) { var gotalltd = getadivbc.snapshotItem(i); var originaltd = getadivbc.snapshotItem(i).innerHTML }
function hidemenu() {
gotalltd.innerHTML = '<a href="/" onclick="return showmenu()" style="color: 006600">[ Show menu ]</a>' + originaltd
var idcc = document.getElementById('ContentColumn'); if (idcc) { idcc.style.marginLeft = "0" }
var idmen = document.getElementById('Menu'); if (idmen) { idmen.style.display = 'none' }
var idbc = document.getElementById('ArtworkHelper'); if (idbc) { idbc.style.marginLeft = 0 }
var idlib = document.getElementById('Loginbox'); if (idlib) { idlib.style.marginTop = -71; idlib.style.marginLeft = 180 }
return false
}
unsafeWindow.hidemenu = hidemenu;
function showmenu() {
gotalltd.innerHTML = '<a href="/" onclick="return hidemenu()" style="color: 006600">[ Hide menu ]</a>' + originaltd
var idlib = document.getElementById('Loginbox'); if (idlib) { idlib.style.marginTop = 0 ; idlib.style.marginLeft = 0 }
var idcc = document.getElementById('ContentColumn'); if (idcc) { idcc.style.marginLeft = "160" }
var idmen = document.getElementById('Menu'); if (idmen) { idmen.style.display = 'block' }
var idmc = document.getElementById('MenuColumn'); if (idmc) { idmc.style.marginLeft = -10 }
var idbc = document.getElementById('ArtworkHelper'); if (idbc) { idbc.style.marginLeft = 0 }
return false
}
unsafeWindow.showmenu = showmenu
hidemenu()
//showmenu()
})()
This script works on pages like this page |
|
Mar 21, 2008
|
Topic: Ideas and script requests / Requesting tibia scripts If you are talking about Tibia, the MMORPG contact me, i have developed some userscripts for this game. |
