[Userscript in Chrome on XDA] Easily Comment and Reply to Messages - General Topics

If you're like me, you comment on XDA threads frequently. I noticed that whenever I go to reply on a thread while quoting more than one person, the quoted text gets pretty long. Then I have to scroll way down to the bottom of the reply text field before I can start typing my response.
So I created a userscript for the Tampermonkey Chrome Extension to do the scrolling for me. Supposedly, any userscript that works in Tampermonkey on Chrome should work in Greasemonkey on Firefox but I couldn't seem to get it to work in Firefox. But that's fine with me because I only ever browse XDA on Chrome.
Anyway, this userscript will scroll to the bottom of the text fields on these three webpages:
Code:
http://forum.xda-developers.com/newreply.php?do=newreply*
http://forum.xda-developers.com/editpost.php?do=updatepost&postid=*
http://forum.xda-developers.com/private.php?do=insertpm&pmid=*
Those three pages are for a reply to a thread, editing any of your previous posts, and for replying to private messages.
It's been super convenient for me and I hope it's convenient for you too. Once again though, I couldn't seem to figure out how to make it work in Greasemonkey on Firefox. If you happen to figure it out, let me know because I'd like to be able to use this userscript in Firefox once in a while.
Attached below is the userscript for Tampermonkey as a zip file. Download it and extract it. Then, open your Tampermonkey Dashboard, click on New Script, delete all the text that's currently in there, then click and drag the xda-text-field.user.js file that you extracted to the code section of that New Script page. Then hit Save.
Alternatively, you can just copy and paste the code I have below into that same New Script page and save it. Take your pick.
Code:
// ==UserScript==
// @name Scroll to Bottom of Text Field - XDA
// @namespace com.misterpyrrhuloxia.xda.text.field
// @description Scroll to bottom of text fields
// @include http://forum.xda-developers.com/newreply.php?do=newreply*
// @include http://forum.xda-developers.com/editpost.php?do=updatepost&postid=*
// @include http://forum.xda-developers.com/private.php?do=insertpm&pmid=*
// @version 1.0
// @grant none
// ==/UserScript==
$(document).ready(function(){
$("#vB_Editor_001_textarea").focus();
$('#vB_Editor_001_textarea').scrollTop($('#vB_Editor_001_textarea')[0].scrollHeight);
});

Please update chrome. Clear cache, storage delete need please could fix it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

[WebApp/Bookmarklet] Book marklet QR generator

Hi There,
here's a little bookmarklet/script I put together: when clicked it generates a QR for the current page:
Code:
javascript:void((function(){j=document.createElement(%22SCRIPT%22);j.src=%22[URL]http://dl.dropbox.com/u/6703853/Scripts/QRgen.js%22[/URL];document.getElementsByTagName(%22HEAD%22)[0].appendChild(j);})())
the actual script can be found here:
http://dl.dropbox.com/u/6703853/Scripts/QRgen.js
To close the QR there is a close button... but you can also click anywhere on the box.
This is how it looks like when you click it:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also here's a little HTML5 notepad that works offline (you can save and load notes):
http://rastacre.byethost33.com/mobilepad/
(sorry for the crap hosting...)
you'll need to access the website at least once the it'll work offline.
the first time you access it'll ask your name (currently it's only an aesthetical touch...)
you can type stuff and save it using the yellow button.
blue button to load a saved pad
red button to clear the pad
green button is to add a pad.
on the right side you'll see the various pads (10 in total).
Saving will save the current open pad and loading will load to the current open pad.
To reset the whole thing either clear the cache or from the browser settings go to website setting and clear the stored files.
It works on the stock browser of the N1 and Desire and Dolphin HD or any browser that supports SQLite storage.
I'm not sure it works on a stock G1.
It also works on iPhone but the buttons are all messed up... I'll try to fix it later
It works pretty well on Safari and Chrome too as webkit supports SQLite, while FF is still behind on this so it wont let you save anything.
Enjoy
QR code generators are very helpful to build code for custom applications for rapid web development. Quick Response codes are also known as a data matrix code. These new two-dimensional codes can be used almost anywhere to promote you business. It is also a free tool that can be used to increase your targeted customer.

[Tutorial] How to search any file on your pc through YOUR MOBILE/Tablet in < 1 sec

Everything Search is a lightweight program that allows you to locate files and folders instantly , as you type.This is a must have tool for everyone.Bind it with a hotkey (Eg: Win+S).You can search anything almost instantly on Windows.
http://www.voidtools.com/download.php (download free < 500kb)
Preview on Windows
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This short & simple tutorial will allow anyone to remotely/locally search files on your home pc/local network/laptop in less than a second.Tried & tested this method on edge/wifi.
Step 1: (Ctrl+P) Goto Tools -> Options -> HTTP Tab
Fill in the desired port or leave as is.
Fill in the user name and password for authentication
Note : I have an android phone , so for me downloading only worked when the authentication was removed during configuration.
You can remove this authentication if download fails.
Step 2: Start the HTTP Server.
Step 3: Url Formation - http://[yourip]:[port]
If you are accessing your files remotely. You can find your global ip using http://whatismyip.com
Eg: Remote Url http://123.231.31.192:8080
If you are accessing files locally through wifi , find out your host pc's ip address
Eg: Local Url http://192.168.2.1:8080
Open the url in your mobile browser and search your entire pc/laptop
You can see search takes less than a second.Download speed as per your network.
This is just a straightforward method , so it should work on any mobile/tablet with a basic browser.I am not affiliated with the software in anyway.Hope this tutorial was helpful to you.
Update: It did'nt work for me on Opera Mini. For every other browser works fine.
Would highly appreciate a feedback.
Press 'Thanks' if this post was useful in anyway.
Well written and laid out. I'll give this a go. Thanks!
Good post.. Cheers

How do you copy from address bar?

I'm obviously missing something very basic.
I'm in the web browser. I want to copy the text in the address bar to the clipboard. I put my pen in the address bar. Some kind of text indicator (arrow) appears. Sometimes a little box shows up which says "Paste, Clipboard". But, when I click on clipboard, it doesn't get copied; it just shows me what's in the clipboard. I've looked under the browser menu, nothing says copy or clipboard.
The way I had to do it was to touch "Share" and select e-mail. Then, copy the link from the e-mail message text to the clipboard. That can't be the only way. Right?
Works for me, I just press and hold the address either with my finger or with the S Pen until the whole address is marked. Then I select either Cut or Copy in the toolbar that opens up.
I will post a screenshot from the Note in a minute.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pinnacle74 said:
View attachment 1299986
Click to expand...
Click to collapse
OK. Thanks. It was me being stupid. The problem was that I didn't actually touch the text, I just touched the blank area in the address bar. The text would get selected, but no toolbar popped up. When I touch text string, all the text is selected and I see the toolbar.
Sorry, this is my first tablet/touchscreen.
Vincent9756 said:
OK. Thanks. It was me being stupid. The problem was that I didn't actually touch the text, I just touched the blank area in the address bar. The text would get selected, but no toolbar popped up. When I touch text string, all the text is selected and I see the toolbar.
Sorry, this is my first tablet/touchscreen.
Click to expand...
Click to collapse
No need to apologize, this is a Q&A thread where we can ask questions so just fire away! :good:
Also, a quick double tap on the address bar will bring up the same copy/paste option. I find It faster then the "hold" option mentioned above.

[APP] Hotstrings - NEEDS testers or should I continue making this?

OK so this is a sort of experimental app that needs some testers. It's not in play yet but the apk is attached to the bottom of the OP. I'm just curious how many people would find something like this useful and wonder if I should carry on making it or just abandon it. Basically the app works as a sort of shortcut for frequently typed phrases or whatever that you may constantly type out that you may not want to. So you create a keyword and a string of text associated with that keyword. You can now cycle through keywords via the widget or the app itself and click on the keyword and have the associated text copied to clipboard for easy pasting wherever you may want
widget usage:
- Click left/right arrows to cycle database
- Click keyword/string to copy to clipboard
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
APK:
http://ompldr.org/vaTJyMg/hotstrings.apk
Would you mind explaining it a little better?
[Sry my native language isn't english]
I didn't get it. What exactly does it do?
Sent from my GT-I9070 using xda premium
http://www.autohotkey.com/docs/Hotstrings.htm
That link will give you an idea of what they are. I think what needs to happen for this to be worthwhile is a needs a custom kb to work with since you are unable to interact with these keywords in other apps(hence the clipboard). With a keyboard I could have a keyword for a really long bit of a text and I just type the keyword out and it will autoreplace with the associating string saving you time.
nlygamz said:
Would you mind explaining it a little better?
[Sry my native language isn't english]
Click to expand...
Click to collapse
Basically, you create short texts that expand to the full phrase/sentence you like. The only similar app I found was https://play.google.com/store/apps/details?id=com.agileapps.autocorrecteditor&feature=search_result which has fairly negative reviews and still has 500-1000 downloads. I expect this is about the size of audience the hotstrings app would get, perhaps slightly more if it is rated more positively.
Hi I know this is old but I'm looking for something like this! I had this option on my iPhone way back when, it's the only thing I miss about it. I use the Swype keyboard so I don't know if that will conflict with your app but it's worth a shot! The link seems to be down, is there any way I could get this apk to try out?

[APP][4.1+] Unofficial Searx App + Pi-hole

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is my new app for searx, the metasearch engine. It's a pretty simple app as there's not much that needs done and I'm new to app development. It's essentially webview with some extra functionality for navigation and with an easy method of switching between public searx instances (or using a custom url for your own or whatever). I also have another branch with pi-hole option as well because it's something I use.
I'm not entirely sure exactly what direction I'll go with it (whether it'll largely stay the same, I'll add more features, turn it in to a self-hosting kind of app, etc.), but it's completely functional at this point. I currently have the releases listed as beta because they're subject to major changes due to the above.
I'm open to any feedback/suggestions in the app/direction it'll go so let me know what you think!
In app ads/trackers
No. Would defeat the purpose of this whole thing
Features
Easy access to any public searx instance listed in the official instances list
Default instance is Disroot
Can change it to any other public instance by simply clicking on the link through settings within the app
Or you can enter a custom url
Basic navigation controls:
Back
Forward
Refresh
Home (Tapping on the instance title in the top left acts as the home button)
Option to open the current page in your web browser - useful for multiple tab scenarios as that functionality is not in this app (no need for the extra bloat
Option to add your pi-hole url
Long press the instance title in top left to open pi-hole page
Screenshots
Download
The latest release apk can be found at the repo below or at the link about. Pi-hole is disabled by default so if you don't have it, don't worry about it
Credits
Searx
Pi-hole
Source
Is this on F-droid?
No but you're welcome to add it if you want. I won't be updating this anymore either so if anyone wants to fork it and change it, that's fine by me
Zackptg5 said:
I won't be updating this anymore either so if anyone wants to fork it and change it, that's fine by me
Click to expand...
Click to collapse
Greetings. In regards to your comment, please let me know if you would like me to close this thread. Thank you.
-Badger50
@Badger50 Ya, I'm not working on this anymore so best if the thread would be closed. Thanks!

Categories

Resources