[APP] Flash Whitelist Manager for Win RT / 8 - Windows RT Development and Hacking

I have had this coded for a while now but it only became infinitely more useful after the Surface and other RT devices can be jailbroken and run Python! Jailbreak your Surface, install Python 2.7.3, and when you open the .pyc file, have it open with python.exe!
If you find any bugs or have suggestions or comments, please let me know!
*****
Name: Whitelist Manager
Compatibility: Windows 8 / Windows RT
Version: 1.0 beta 3
Code: Python 2.7.3
*****
This simple program allows you to add to and remove from a local list of domain names that automatically synchronize with the IE10 (Modern UI) flash whitelist.
If your IE whitelist is ever overwritten through a Microsoft update, running this program will automatically restore all the sites back into the whitelist.
Domain names should be entered as follows (without quotes):
"microsoft.com"
Before using this program, open IE10 in desktop mode, and go to: "Tools -> Compatibility View Settings"
From there, UNCHECK the option to download updated lists. This only needs to be done once.
Finally, any time changes are made to the whitelist, they only become active after going to "Settings -> Internet Options"
in the Modern UI browser and deleting the browsing history.
NOTE:
This program ONLY synchronizes its whitelist with IE if you exit it via the menu option.
Pressing the close button or exiting in any other way than the built in method will not synchronize with the IE whitelist.
Synchronization works both for added and removed domain names.
DISCLAIMER:
This program is provided AS IS with no warranty express or implied, to be used at your own risk.

Related

TUTORIAL: Make Opera Mini (4.1) your default system browser!

In my last (and, now, heavily outdated) article on making Opera Mini 4 be invoked on my just clicking a URL, I’ve already elaborated on the advantages of doing this (and, actually, the advantages of Opera Mini 4 itself). Please do read it if you want to know why making use of direct invocation can be really advantageous.
Because there’s a lot of news worth reporting on (and I’ve been asked by Serola to join the Opera Mini Fan Blog as the first blogger, because of which I've decided to update this really important tutorial) and the original article didn’t elaborate on other mobile platforms like Symbian and BlackBerry, I’ve decided to devote an entirely new article to this question.
1.1 badbob101’s StartOperaMini
(the download is at the bottom of the first post; as of 05/12/2008, 09b is the latest version, which you'll want to go for.)
I recommend this solution the most because it’s really-really easy to install and maintain and it’s much more flexible than, say, superdave’s, otherwise, in some respects cleaner and faster solution.
All you need to do is, in order to set it up, downloading and installing the free MortScript (just copy the MortScript-4.1-PPC.cab file from the cab subdirectory of the ZIP file to your handset and tap it there) and, then, just copying StartOperaMini.mscr anywhere (including a storage card) on your handset and, as with MortScript, clicking it from File Explorer. It’ll automatically find the current location of Jbed, the index of Opera Mini and set up everything just fine. Unlike with the early solution, absolutely no manual setup is needed.
Note that, after running it, in addition to several property files, two link files will also be created. Feel free to manually copy them to \Windows\Start Menu\Programs so that they are easily accessible (not just from a file explorer):
{
"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"
}
The - in the above screenshot highlighted - Start Opera Mini Setup lets you fine-tune your settings:
You, in most cases, won’t want to touch this. However, there are cases when you will want to do this; most importantly, when you want to enable the browser selector screen (see Badbob’s early script version’s default functionality) upon every invocation:
Another recommended setting you can do is NOT forcing the script to kill the already-running Jbed / Opera Mini session by double-tapping Kill Jbed first [Yes] item; the results of this will be as follows (with the given item highlighted):
Also note that you can also directly edit these options in the configuration file, StartOperaMini_ini.txt. For example, not letting for the killing of Jbed (to greatly speed up initial page loading and also keeping the already-opened pages in memory), just change kill_jbed(1) to kill_jbed(0) (that is, 1 to 0 in the parentheses) in it.
1.2 Other Windows Mobile solutions
You might also want to check out JZ SmartMort’s script-based solution, particularly recommended for MS Smartphone users and superdave’s native C++ program HERE. Note that the latter doesn’t let for using Jbed elsewhere than under \Windows\ and it doesn’t support the enhanced, autocomplete-capable 4.1 interface; you’ll need to switch to the pre-4.1 input mode by clearing the "Direct Address Input" checkbox in Setings.
1.3 Other operating systems
Unfortunately, other mobile operating systems don’t support this kind of operation. However, nothing is lost! Unlike under Windows Mobile (particularly on MS Smartphone devices with their pretty much restricted – no copy/paste features built-in, for example – OS), it’s very easy to quickly invoke a given URL in both Symbian and BB.
1.3.1 Symbian
In Messaging, highlight the URL:
Press the left softkey and select Copy:
Switch to Opera Mini, press #1, press the Delete ("C") and, then, the Down buttons once to highlight "Insert symbol":
Now, long-press the Pen button until "Paste" is shown over the right softkey:
Not releasing the Pen button, press the right softkey; the contents of the clipboard are copied to the text input area:
You can, now, go on as usual by sumbitting the URL:
1.3.2 BlackBerry
In the mailer, highlight the URL by going up/down with the trackball:
Press the Menu button (NOT Action! The latter will take you straight to the built-in browser) and select Copy:
Switch / go to OM and press #1; press Del once to delete the contents of the input field and roll the trackball down to highlight "Insert symbol":
Press the trackball and select Paste:
The URL is pasted to the input field:
Now, just press the trackball three times (the first will be an OK; the third):
Note that this will work in all cases, even with true HTML mails even with the latest, 4.5 beta OS, because the current, still non-upgraded BIS / BES servers still send out non-HTML mails to clients. An example of an otherwise full HTML mail sent as plaintext:
Incidentally, the case is exactly the same with Symbian - that is, you'll always be presented pure-text versions of HTML mails with easily-to-copy links.
Excellent update. I'm not sure if I'm missing anything, but I never could figure out a way to copy and paste in Opera Mini on WM6. You addressed Symbian and BB, am I missing something already known or is this not possible?
JZ SmartMort v1.3 - Released!
Announcing JZ SmartMort v1.3
This version has a lot of enhancements, please read the release notes below.
Get it here: http://forum.xda-developers.com/showthread.php?t=382043 or on SourceForge
v1.3 *** 2008-05-25
- Created a CAB file for distribution. If upgrading, please remove or rename the entire JZ folder. To install the CAB your phone will need to be uncertified app-unlocked. You can use this standalone utility: http://www.gpcarreon.com/?p=151
- Mort has allowed me to distribute his FREE MortScript, when you install JZ SmartMort it will place Mort's CAB files in the "MortScript Installs" folder, found underneath your JZ install location. This makes it easier to install all components necessary to run my software w/o having to download more from the web.
- CAB file will create a Start Menu shortcut for JZ Installer.
- Pulled out the .Net executable file from the pack, found a MortScript workaround instead.
- Storing everything in the registry. Optimized scripts for light memory usage and speed.
- Added PPC support to map the JZ Action script to the Application 2 hardware button.
- Added NetFront 3.5 support and verified all Opera Mini versions above 3.1
- Default browser has a timeout now which is user defined, default is 5 seconds.
- Opera Mini enhancements: 8 paste methods, adjust trim units, use different methods to pop the Opera Mini URL input screen and enable/disable "Auto-Complete Address Input"
- Ability to create the Opera Mini shortcut on your Start Menu.
- You can use the action/button mapped script to choose a JBed/Java app from a list. Added a JBed security prompt patcher along with the Application Unlocker which is also a part of the pack.
- HELPERS folder underneath the JZ installation area has scripts to reset device, kill voice notes, list JBed apps to run, Kill IE & Kill MortScript.exe.
- Ability to reset JZ SmartMort settings.
- Ability to select with cursor & copy to the clipboard (will ask how many seconds to allow cursor selection)
VirgilWoods said:
Excellent update. I'm not sure if I'm missing anything, but I never could figure out a way to copy and paste in Opera Mini on WM6. You addressed Symbian and BB, am I missing something already known or is this not possible?
Click to expand...
Click to collapse
Use Ctl-C / V on the on-screen keyboard. Also see my MIDlet Bible and Button Enhancer Bible for more info / tips.
JZ SmartMort v1.4 Released!
Announcing JZ SmartMort v1.4!​
Now you can use JZ SmartMort to make Opera Mini a default system-level browser with ability use other installed browsers side-by-side!
Have a look at the screenshots of JZ SmartMort, available HERE or at SourceForge. Below are the prominent features that the software offers.
Copy / Paste
Clipboard / URL history
Multi-browser (Opera Mini, Opera Mobile, NetFront, Skyfire, Internet Explorer)
Make any installed browser system-level, where it opens links from anywhere. Ability to have a default browser (with a special timeout in case you want to open a link with a non-default browser).
Hardware buttons - supports Pocket PCs & SmartPhones for advanced hardware button mapping.
Opera Mini - shortcut on the Start Menu, different paste & URL handling methods to accommodate different phones.
JBed - create Start Menu shortcuts for any JBed app, run JBed App directly using JZ SmartMort, troubleshoot your JBed installation.
Ability to open synced Mobile Favorites with any browser, process killing and many other interesting features.
Includes general tweaks and hacks which will keep growing
Revisions:
v1.4 *** 2008-07-07
- Created help files.
- Browser: Skyfire fully compatible now, new scan/detection with fail-over paths (if browsers references don't exist in the usual locations like the registry). If default browser timeout is set to zero, the JZ Browser prompt will be bypassed entirely.
- Opera Mini: full-screen, kill JBed option, multiple URL & pasting options.
- Lots of new options for button mapping. All known registry and link file button hacks now integrated to allow virtually any command to be called up. Also provides ability to create a CUSTOM link file from scratch.
- Changed menus to include menu-returns for easy navigation and better user friendliness. Added letters to Action menu as qwerty keyboard shortcuts.
- Phone-specific menu under JZ Settings which expands button mapping for BlackJack II (Samsung i617) CV/MediaNet buttons, as well as, AT&T Tilt (HTC Kaiser) PTT & Long-PTT buttons. More will be added.
- Creation of Start Menu shortcuts & opening of JBed applications w/o needing to open JBed first.
- 3 different methods under JZ Settings > JZ Misc. Options for opening Favorites. Save a Favorite from the JZ Browser script when you pop a link.
- Incorporated VitoCopyPaste with a timeout to return your directional pad action button back to normal.
- Various speed & optimization considerations incorporated.
- Function to deal with MortScript losing focus (e.g. when Home is pressed while Mort choice menu is running).
Questiooon
Thanks Man It Was Great
Evruthing Worked.!
The Only Thing Is How To Return Opera And Ie Logo To The Icon???
Because Now I Got The Yellow Icon From The Moscript
Thanks.
88smiley88 said:
Thanks Man It Was Great
Evruthing Worked.!
The Only Thing Is How To Return Opera And Ie Logo To The Icon???
Because Now I Got The Yellow Icon From The Moscript
Thanks.
Click to expand...
Click to collapse
Are you using JZ SmartMort? If yes, then there's an option under JZ Settings > Browser > Patch IE Icon.
ot: duz Opera mini support www.hotmail.com? i can't seem to login, it says cookie on a blank page when i login
I used Opera Mini 2 years ago and hated it. I love 4.1 with JZ MortScript.
It has overtaken Opera 9.5 beta and Access Netscape with their high memory usage and 'out of memory' popups that are so annoying.
Thanks for the hard work.
JZ SmartMort v1.4.2 - Released!
Announcing JZ SmartMort v1.4.2
Get it here: http://forum.xda-developers.com/showthread.php?t=382043 or on SourceForge
Great support for Skyfire (PPC/SmartPhone editions) and Torch Mobile's Iris Browser with the new 1.4.2 version of JZ SmartMort!!!
v1.4.2 *** 2008-09-21
- Added support for Torch Mobile's Iris Browser.
- Added support for Skyfire SmartPhone edition and modified Skyfire PPC pixel seeking logic when bar is shown and hidden.
- Added multiple Skyfire paste & open URL methods.
- Separated versions of Opera Mobile 8 & 9. Users can have both installed on the device and detected separately by JZ SmartMort.
- IME keyboard driver manipulation for Opera Mini to help pasting in some cases.
- Added option to Pin Last Used Browser as Default. JZ SmartMort will use the last selected browser and set that browser as default for the next time JZ Browser script is opened.
- Added FakeCursor to allow SmartPhone users ability to use more PPC geared applications.
- Added partial JZ SmartMort resets rather than the previously available full reset.
- Added BlackJack II button mapping for the updated WM 6.1 ROM. Both WM 6.0 & 6.1 OS versions are supported for button mapping on BJII.
Signed and Verified Opera mini 4.1
Does anyone have and Signed and Verified Opera Mini 4.1 you can upload or point me to?
I tried to download it from Opera but my 8525 is only tested/approved for Mini 3 and the version of 4.1 I get is unsigned and unverified.
I would really like to be able to download/upload from the browser.
addicus said:
Does anyone have and Signed and Verified Opera Mini 4.1 you can upload or point me to?
I tried to download it from Opera but my 8525 is only tested/approved for Mini 3 and the version of 4.1 I get is unsigned and unverified.
I would really like to be able to download/upload from the browser.
Click to expand...
Click to collapse
You should be able to do everything that a signed version can...
If you use my software, under "JZ Misc." settings is a "Security" option which will allow you to tell JBed to never prompt you with warnings. Making your unsigned version work the same in JBed as a signed one would.
JZ SmartMort said:
You should be able to do everything that a signed version can...
If you use my software, under "JZ Misc." settings is a "Security" option which will allow you to tell JBed to never prompt you with warnings. Making your unsigned version work the same in JBed as a signed one would.
Click to expand...
Click to collapse
This is all I get when I go to settings under "JZ Misc". There is no "Security" Options.
addicus said:
This is all I get when I go to settings under "JZ Misc". There is no "Security" Options.
Click to expand...
Click to collapse
Sorry, I meant "General Tweaks/Hacks" > "Security"
JZ SmartMort said:
Sorry, I meant "General Tweaks/Hacks" > "Security"
Click to expand...
Click to collapse
Worked to perfection. Thank you very much. I'm downloading your 1.4.2cab now.
I'm having a few problems.
1. I can't fully uninstall the program. I wanted to remove 1.4.1 before installing 1.4.2.
2. I flashed my device to clear some issues. Now opera mini won't paste and open a link from my email. This is whether I am using 1.4.1 or 1.4.2.
Please assist.

Trident Sandbox : Sandbox Scripting IDE

View attachment 2813343
{
"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 an effort to make the best out of what Microsoft gave us 'out of the box' with Windows RT as far as on-device scripting and coding.
It is an browser-app development environment which runs within a browser itself. It was originally intended to fill a void in the Windows RT app development ecosystem. Internet Explorer's rendering engine is called Trident (version 7 in IE11), and it is a sandboxed environment, so the 'sandboxing' is at the browser level.
It now supports WinJS 4.0 library, supports linting, code completion, backup and restore and the sandbox api has been reorganized into a namespace-like hierarchy you can traverse with code completion or view an api reference with a keyboard shortcut. Keyboard shortcuts are now rebindable, and for users running directly off their device I now support an in-memory database adapter where you can set up an elaborate database of saves, script and markup units, and data to be backed up and restored as a single file.
All you have to do to install this native web app is visit this web site :
http://www.obeliskos.com/TridentSandbox
This project is hosted on GitHub at :
https://github.com/obeliskos/TridentSandbox
Trident Sandbox now supports the Microsoft WinJS 4.0 framework which used to be intended for JavaScript Windows Store Apps, but now work outside the appstore, in the browser, and are cross-browser compliant. WinJS allows for browser apps which behave like native apps. For more information on the WinJS framework go here : http://dev.windows.com/en-us/develop/winjs.
There are two ways to install Trident Sandbox and both offer advantages over the other so you may want both:
(1) Run off Local Filesystem. For this method, you can just download the attached zip, then right click on it and choose properties and unblock it. Then extract it... when its done you can double click the TridentSandbox.htm file or drag and drop the .htm file onto your desktop Internet Explorer and then make it a favorite. Running off local filesystem you have the ability to make web requests to the internet to grab data.
(2) AppCache install. For this method you just visit this page : http://www.obeliskos.com/TridentSandbox . Wait until the AppCache status changes from 'Downloading' to 'Idle' and then the site will continue to run this 'cached' version indefinitely (even if you have no internet connectivity). Running using this method you cannot make internet request but you can use LocalStorage and IndexedDB... two very useful storage mechanisms.
There is a workaround for making ajax requests using the AppCached install, which may or may not be appropriate for your particular concerns. It is described in the 'Making Data Requests in Hosted/AppCached environment' section of this help page : http://www.obeliskos.com/TridentSandbox/docs/HostingAndAppCache.htm
Upgrading an AppCache version :
If you already have an AppCache for an older version of TridentSandbox, you can upgrade to the latest version using either of the following two methods. (1) go into internet options/settings/caches and databases and delete the old obeliskos.com entry, then revisit the site at link below. If you want to preserve the data you have stored in the TridentDB/IndexedDB, you can visit the site using the desktop Internet Explorer and it will show 'Downloading' and then 'Update Ready', then press F12. This brings up the developer's tools from which you go to the console and type applicationCache.swapCache() and then reload the page... you should be updated.
Additionally (for users of my AppCache site) : When using an appcache website while online it will check for updates by downloading the appcache.mf manifest file... if that file does not exist and the response code is something like file not found, then the appcache will be invalidated. So if you expect/want the appcache site to work even after I may have taken the site down (which I have no intention of doing anytime soon), then you might want to host block the site in your windows hosts file. I believe it would run forever in that mode with no online dependencies (or updates). If you see I have created a new update, you can unblock it to update. The version which is downloaded and run from local filesystem has no such dependencies so this does not apply to the zip download install.
Hosting your own TridentSandbox Server :
You don't need to do this since I offer my own webserver, but if you want to can can host TridentSandbox on your own website. If you just want to host the files on a server of your own and do not need appcache functionality, then edit the TridentSandbox.htm main page and find (near the beginning of the file) the HTML tag and remove the reference to appcache.mf. If you want to use appcache, then leave the html tag at its default. You might need to register mime types for .mf files (text/cache-manifest) and .prg files (application/json). The newly added Awesome Fonts library may also need mime types configured for a few fonts, you can either add these mime types or remove them from the appcache.mf file (and lose offline support for those). You should be able to use F12 on the desktop IE and monitor the Debugger window as it downloads the appcache and if it fails it will usually tell you the file it had trouble with.
Within TridentSandbox, there are Help pages which provide much better overall information.
TridentSandbox comes with some third party javascript libraries which are made available for you to use in your own scripts.... these include jQuery, jQuery-UI, alertify, jqPlot, jqGrid, fullcalendar, dynatree, highcharts, CryptoJS, Loki.JS (simple JSON object database), Metro.JS, Springy, FontAwesome, Pixi.js, EaselJS, Mathjs. It's structured into a file system hierarchy so you can add your own libraries (local filesystem version only) and register them with the main webpage if you want to extend the environment.
To install local filesystem version :
- Download TridentSandbox.zip to an area like your Documents or Downloads folder.
- IMPORTANT : If you are on Windows RT, Windows 8 or 8.1, right click on the downloaded zip file and choose properties... it may say the file came from the web and give you an option to unblock it... unblock it. Then extract it. If you already extracted it you can right click on the TridentSandbox.htm file choose properties and it will have same option to unblock it... so unblock it.
- Go into the newly extracted directory and run TridentSandbox.htm (it will run in either metro or desktop ie, but I prefer desktop ie, which in that case you might need to drag and drop the htm file onto desktop ie program to load (then bookmark).
- If it asks you to enable scripts, choose yes
- You can load samples which are located in the samples subfolder.
- You can save samples into that folder as well as anywhere else... like SkyDrive. Files manually loaded and saved can be located anywhere but assets referenced as urls within your programs need to be in folder hierarchy (at or below the Trident Sandbox web page you loaded).
Downloads (If you prefer to download and run off your device or server) are now available here :
https://github.com/obeliskos/TridentSandbox/releases
Now something really interesting is coming...
deleted
deleted
I updated to version 1.6 which you can either download or run from my hosted AppCache version. This appcache version will download all files to allow you to run offline. Running this appcache version will let you use local storage and indexeddb as well as some other options.
See first post for link to AppCache version or download attachment for local filesystem (or both).
Help system also covers this in detail.
As far as on-device, in-browser scripting environment for Surface/Windows RT, I consider the latest 1.76 version to be 'Done'. I have opened up a github site where I will host future development at :
https://github.com/obeliskos/TridentSandbox
I will continue to run my AppCache site at http://obeliskos.com/TridentSandbox/ and keep it updated since that is the primary method of distribution still... but at github you can download ZIP of source tree (unblock zip if on Windows 8/8/1/RT), extract, and use the same way as the zip download hosted here.
If you want to contribute to development or make change request you can do that at the github site.
I'll still be around here waiting for announcements by netham :victory:
I was trying Trident on my Surface (which is very cool and useful by the way) and I found that Windows RT (not RT 8.1) doesn't have WebGL support so the 3D demos didn't work. This is supposed to be a limitation of IE 10 which comes with the surface. IE 11 which comes with Windows RT 8.1. I was wondering if anyone knows what files I should copy from a WIndows RT 8.1 tablet to get the files necessary for IE 11 to work with WebGl.
Everything else works so well.
Yep that was a new feature Microsoft added for Windows 8.1 (and updated for more complete implementation in 8.1 update 1). For what its worth my Surface 1 upgraded to 8.1 runs the opengl demos fine... so once jb for 8.1 comes out it should upgrade to full functionality. I'll probably put a notice in those samples if I detect rt 8.0.
I do not know about which files are needed, sorry... you might need updated video drivers too.
On an unrelated note, I just discovered that the AppCache version CAN do internet ajax requests. You can go into Tools/Internet Options/Security/Custom Level... and scroll down to the 'Miscellaneous' section and the first 'Access data sources across domains' setting to Enable. You should then be able to make your ajax calls assuming the website allows requests from outside its own domain. Not sure if there is any reason why you would want to leave this disabled, if you are worried you might try the prompt setting to approve requests... most times this is enforced at the web server level. I'm pretty sure the same workaround applies to IE 10 but I can't test that.
So while I am pretty much feature complete on the local filesystem version, I will probably continue to update my AppCache site (and github) with new features in the future. I will probably update the file hosted here to a 1.82 version with updated help system and samples to clear this up in a few days... after that I will probably just update the github site (with its zip download).
The reason for "Access data sources across domains" usually being restricted is that sites which aren't explicitly configured for safe CORS (Cross-Origin Resource Sharing) may leak information to an attacking website (things like authentication credentials, for example) if the browser doesn't check to ensure CORS is safe before sending the request. Basically, it breaks the same-origin policy which protects sites from one another. If you're signed into A.com and visit B.com, and B.com wants to get resources from A.com, the browser usually first checks with A.com to see if this is permitted. Disabling that check is very dangerous.
That sounds like good advice...
This is the guidance I have put in the help pages starting in version 1.82 :
Making Data Requests in Hosted/AppCached environment : By default, you can only make AJAX calls to websites to get data when you are running off of your local filesystem (zip file distribution). If you are running Hosted or AppCached, this ability to make AJAX requests is disabled by default. There is a workaround (which I will describe here) that may or may not be appropriate depending on how you use it. In Internet Explorer, if you go into Tools/Internet Options/Security, you have Zones like 'Internet', 'Trusted', 'Restricted', 'Intranet'. If you do not currently have sites in the 'Trusted' Zone, then you can add the Trident Sandbox AppCache domain (http://www.obeliskos.com) to that zone. In order to do that you will have to disable the checkbox 'Require server verification (https for all sites in this zone' since my AppCache site does not support SSL. Now, if the 'Trusted' Zone is highlighted click on 'Custom level...', scroll down to the 'Miscellaneous' section and set the 'Access data sources across domains' option to 'Enable' for your data requests to work. It is important to not to apply this setting to the 'Internet' Zone for security purposes that would open this feature to pretty much every site you visit. If you already have sites in your 'Trusted' zone you probably don't want to do this, and you should just do this temporarily when you need internet access not as a permanent policy. Do not visit any untrusted sites while the setting is active. When you are done you can re-apply the https: required checkbox and set the 'Access data sources across domains' back to disabled. If you host Trident Sandbox yourself on a server with https enabled and your site was the only site in the Trusted zone, then you could safely leave it enabled all of the time. That said, and all warnings duly noted, this workaround opens the possibly of implementing all sorts of creations which require internet ajax web requests -and- data storage capabilities.
Now including WinJS framework
I now include and support Microsoft's WinJS library which allows browser apps to behave more like native apps. This WinJS library originally (and still is) used to create JavaScript AppStore apps, but it has been open sourced and made available to use in regular browser apps, as well as now having cross browser support.
If you visit my new landing page at : http://www.obeliskos.com/TridentSandbox you will be able to see some examples (HieroCryptes Notepad, Antikythera, and JSON Databank) which use a few of the new controls.
To see all available controls included with this WInJS library, you can try out Microsoft's own sandbox here : http://try.buildwinjs.com/
WinJS provide many UI controls like Hub, ListView, AppBar, NavBar, FlipView, ContentDialog, Pivot control, toggle buttons, as well as structural mechanisms like data binding, promises, javascript scheduler, etc.
If you have an old version of TridentSandbox it should update automatically and afterwards you may need to reload the page and you should be taken to a new landing page. If your version is very old, you might to delete the old appcache from (in Internet Explorer) Settings/Internet Options/Browsing History/Settings/Caching and Databases.

[APP] Paste Over Net - 1.0

Hello everyone. This is my vision of sharing clipboard over local network.
I found a lot of similar things however they were not good for me. Let me explain.
I have couple netbooks at home with linux/windows. I have desktop running linux. I have 3 androids around...and sometimes I have friend coming with Mac.
I want be able to just send link / password / picture/ video from one device to another fast-right-now without worrying to setup / configure /reading manuals for anything.
And here PasteOver.Net comes. Written for own use mostly, works strictly inside local IP subnets, uses AES-128/RSA-1024 encoding in case you want to launch it in school, sends clipboard content (content is unified, so PrintScr on windows will paste on unix devices like android too) and (or) files etc.
PasteOver.Net comes in 2 versions:
Desktop Edition
Android Edition
Desktop edition is a java "jar" and can run anywhere with JavaFx 1.8._u40 or better. Also I made some bundles for easy use on Intel CPUs (on website).
Android edition is hosted by google play market, also it has 2 additional features:
Empty Clipboard - floods clipboard with trash so it removes things like password (Samsungs keep last 20 items, your password may stay there forever).
Picture&Send - single button "do a picture, send to other device now".
You can get desktop bundles/jar and read more on: pasteover.net
Android version is on: play.google.com/store/apps/details?id=net.pasteover

## PRO-TIPS for your (non-pro) Windows RT ##

Well I guess this is more of a 'list of utilities, commands, and features' that might be buried so deeply into windows rt that you didn't know it was there. I don't know about other surface/winrt users but I have gotten more advanced configuring my surface rt than I ever did on an x86. Now I usually end up needing to configure my x86 devices to provide the same functionality I expect on my tablets.
So I don't think we have a list like this and I'm sure a lot of you have your own 'pro-tips', so maybe we can compile a list of hidden gems we can use with windows rt into this thread so that we collectively can reference or individually don't forget
So here is a short list to start off :
Utilities -- Many more utilities can be found by browsing c:\ProgramData\Microsoft\Windows\Start Menu\Programs
WF.msc (type at command prompt or Win-R key run window) : (Windows Firewall with Advanced Security) although they removed the control panel applet it seems they left in this mmc plugin.
gpedit.msc : group policy editor... somewhat hidden but they left this in
resmon (Resource Monitor)
msconfig (System Configuration)
msinfo32 (System Information)
steps (Steps Recorder) : this is a utility that will capture your activity as screenshots to play back or upload for others to see.
Modify whether links or html files open in Desktop or Metro versions of Internet Explorer :
Open desktop Internet Explorer, click on gear icon and choose Internet options. Now click on 'Programs' tab and select your preference from the 'Opening Internet Explorer' section dropdown.
Keyboard Shortcuts :
Metro snap via keyboard : Hold Windows and tap . (period) Keep holding down windows key and tap left, right, up, or down
Win-Tab : While alt-tab lets you cycle 'desktop' programs, Windows key + Tab cycles through 'metro' app list
Win-X : Show advanced start menu (same as right clicking start menu)
Win-D : Show/Hide desktop
Win-P : Pick from various multi-monitor configurations (duplicate/extend/pc only/external monitor only)
Console Commands
'HELP' : Show a list of all commands you can get more help on.
'WHERE' : Type where wf.msc (for example) and it will tell you where that program/file exists if it is in any of your PATH'ed folders.
'WMIC' : a very deep well of information, type WMIC /? to see list of all modules
wmic volume list brief (shows all mounted drives/volumes)
wmic qfe list brief (shows all installed windows updates)
'SYSTEMINFO' : another system info command, sort of a command line version of msinfo32
'TREE' : show an 'ascii-art' tree of sub-folders for the folder you are in.
'ASSOC' : command line ability to set file associations
'CERTUTIL' : can be used (among other things) for computing file hashes
certutil -hashfile [filename] [MD5|SHA1|SHA256] so for example :
certutil -hashfile myfile.zip sha1
Associations / Context menu / 'Send To' programs :
Create a shortcut to control.exe /name Microsoft.DefaultPrograms to quickly go to this control panel applet.
Use command line ASSOC to set file associations
Manage 'Send To' folder by opening 'windows' explorer, typing shell:sendto into the location bar to be taken to a folder showing all your 'send to' programs'. You can drop shortcuts to other programs (provided those programs accept command line arguments). Now you can right click a file in windows explorer and 'send to' programs like 7-Zip, Paint.NET, notepad++, etc.
Add an "Open with Notepad++" or other top level context menu for all files :
Open registry editor and browse to : HKEY_CLASSES_ROOT\*\shell.
Right-click on “shell” and choose to create a new key, calling it “Open with Notepad++”
Create a new key below that one called “command”
Double-click on the (Default) value in the right-hand pane and enter "c:\path_to_npp\notepad++.exe" $1
To have the menu item show the notepad++ icon do these extra steps :
Right click the "Open with Notepad++" key (which you created) and add a new string value called "icon"
Double click new "icon" value and set its string value to "c:\path_to_npp\notepad++.exe"
In all steps above make sure you enter the path to notepad++ on your machine instead of the path entered.
http://www.howtogeek.com/howto/wind...th-notepad-to-the-context-menu-for-all-files/
Make 'command prompt here' context menu when right clicking folder in windows explorer : http://www.howtogeek.com/howto/wind...-always-display-for-folders-in-windows-vista/
Enable 7-Zip Context Menu :
Run regedit (Registry Editor), and drill into / expand HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers.
Now right click on 'ContextMenuHandlers' and choose 'permissions'.
Click 'Advanced' button.
On advanced Security Settings screen (at the top) choose Change (owner) link.
When selecting a user or group screen comes up click 'Advanced', then 'Find Now', and in search results choose 'Administrators' (may need to widen column to distinguish from singular 'Administrator').
After highlighting Administrators, click OK button to go back to Advanced Security Settings screen.
Now you are able to click on 'Administrators' and click 'Edit' and select 'Full Control' and click ok to apply permission.
Keep clicking ok on dialogs till you are back at registry editor.
Now run 7-Zip as administrator, go into tools menu and select options.
Then on 7-Zip tab choose 'Integrate 7-Zip to shell context menu' and click ok to close dialog.
Context menu should now appear when right clicking on files in windows explorer.
Disabling Connected Standby :
This is only a good idea if your tablet will always be left on a charger or 'shut down' when not in use. If you turn off connected standby and set your display to turn off after... say 5 minutes, then after 5 minutes your display will really power off (backlight as well) but any desktop programs will continue to run. You might want to do this if you are running a web server or some other process in background. When you disable connected standby, many other options appear in your power options 'advanced power settings' page. If you do this I recommend you 'Create a power plan' on the 'Choose or customize a power plan screen first'.
To toggle connected standby feature on or off, modify the :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\CsEnabled key, setting to 0 for 'off' or 1 for 'on' and reboot to take effect.
Node Chakracore :
This is really an undocumented bonus 'add-on', made by Microsoft which you can run even on windows rt devices which are not in test-signing mode. For those who are not familiar, NodeJS is a console-based javascript scripting environment. Standard Node.js uses v8 javascript engine (same as google chrome), however this 'node-chakracore' version uses the chakra javascript engine (which is the latest version used in edge browsers). Microsoft is providing this for raspberry pi users running Windows 10 on ARM but they also work on Windows RT.
I made a utility here if you prefer to try an automated means of installing
Install Node.JS (node-chakracore) :
Download the latest ARM release from : https://github.com/nodejs/node-chakracore/releases
Extract that archive to (for example) c:\nodejs
Add that directory (which you extracted to) to your path environment variable.
(Optional) Install/Setup NPM (lets you install packages from npm repository) :
Download https://github.com/npm/npm/archive/master.zip, save somewhere.
Extract it to (for example) c:\npm.
Open windows explorer and type %AppData% into the address bar and hit enter.
Within your AppData directory, create an "npm" directory.
Double click on npm folder you just created from windows explorer
Click into the address bar to see the full path and remember (or copy) this path for next step and later.
Save the following to file named "npm.bat" and save into the directory you just created/copied
Code:
@node c:\npm\npm-master\cli.js %*
(If you extracted npm elsewhere, update the batch file to reflect actual location)
Create an etc directory under this appdata npm folder
Create an separate etc directory under your node folder (c:\nodejs if you used suggested default)
Copy .npmrc file from c:\npm\npm-master to c:\node
Rename and get rid of the '.' from the filename so the filename is just npmrc
edit that npmrc file In notepad and add the following lines :
Code:
globalconfig=c:\users\username\appdata\roaming\npm\etc\npmrc
prefix=c:\users\username\appdata\roaming\npm
(make sure to substitute your username in the above this base folder is the folder I told you to remember/copy in previous steps)
Having saved those changes to npmrc under c:\node\etc, copy that file to your appdata\npm\etc directory as well.
Add the path of your appdata\npm directory your path environment variable. If you install global packages they will install commands/batch files into this folder. If it is pathed you can exec them as native commands. This path is also where we put the npm.bat so it can be run from anywhere.
A useful demonstration if you have configured the both npm and node correctly is to install cash (an implementation of unix shell commands) by typing from a command prompt :
Code:
npm install -g cash
That should take a several minutes to complete (hopefully successfully). When done you can run 'cash' or just '$' at a command prompt to bring up simulated Linux prompt from which you can type 'help' to see supported commands. These commands interop with windows commands as well so you can mix (see cash link above).​
(Thanks to @black_blob for discovering this node/npm)
I will add more info or cleanup as needed, feel free to post your own, if needed I can compile it into first post to work towards a guide if anyone wanted to make one.
I modded the Windows 10 Chakra(non-core) to run on 8.1 as a part of my earlier NodeJS port. By the way, I also had Microsoft Edge running with it at a time.(EdgeHTML)
I wonder if I should continue my backports from Win10
You mean other programs/frameworks? You have brought over some great stuff, so yes absolutely! Anything you have in mind?
nazoraios said:
You mean other programs/frameworks? You have brought over some great stuff, so yes absolutely! Anything you have in mind?
Click to expand...
Click to collapse
I have in mind to backport the UWP framework, or maybe even a FrankenKernel(10 kernel, 8.1 userspace). Microsoft Edge works without needing UWP, as you can use edgehtml like mshtml for embedding
You would definitely be my hero if you could bring over Edge, preferably with somewhat recent (EdgeHTML? rendering) and Chakra javascript engine.
Not sure how FrankenKernel and UWP support could work out but both could potentially be awesome... guess its the details which I'm sure you have a better idea than me. So do you think we would be able to run (open source?) Windows 10 apps and would the 'developer mode' be brought over with the kernel or is that 8.1 userspace which would require 8.1 developer license signing (and renewing every 6 months)? Or would the UWP part just be for console or node-chakracore like it is on IOT?
nazoraios said:
You would definitely be my hero if you could bring over Edge, preferably with somewhat recent (EdgeHTML? rendering) and Chakra javascript engine.
Not sure how FrankenKernel and UWP support could work out but both could potentially be awesome... guess its the details which I'm sure you have a better idea than me. So do you think we would be able to run (open source?) Windows 10 apps and would the 'developer mode' be brought over with the kernel or is that 8.1 userspace which would require 8.1 developer license signing (and renewing every 6 months)? Or would the UWP part just be for console or node-chakracore like it is on IOT?
Click to expand...
Click to collapse
Windows 10 kernel & system, Windows 8.1 explorer.exe, dwm and other tiny GUI bits
I have a Windows Server ARM64 build, but that's not 32-bit
Yea that sounds daring... Don't brick your device please Too bad no 32bit gui bits to borrow. I doubt they would bring the Ubuntu for Windows 10 subsystem to arm, but technically i'm sure they could since Ubuntu has arm and pi2 image.... still would be neat. Also I think they added ssh server to pi2 but not sure if it would be easy to 'extract' and borrow.
We will be watching you commander...
nazoraios said:
Yea that sounds daring... Don't brick your device please Too bad no 32bit gui bits to borrow. I doubt they would bring the Ubuntu for Windows 10 subsystem to arm, but technically i'm sure they could since Ubuntu has arm and pi2 image.... still would be neat. Also I think they added ssh server to pi2 but not sure if it would be easy to 'extract' and borrow.
We will be watching you commander...
Click to expand...
Click to collapse
The Ubuntu support uses the Linux binary compatibility SubSystem, also known as Astoria
black_blob said:
I have in mind to backport the UWP framework, or maybe even a FrankenKernel(10 kernel, 8.1 userspace). Microsoft Edge works without needing UWP, as you can use edgehtml like mshtml for embedding
Click to expand...
Click to collapse
That would be even more amazing than a running build of Windows 10 Mobile. So you'd have a "full" OS with the befinits of running UWP. That would def. insure the future of Windows RT.
It would be even better if astoria would work on it too. So you'd even able to run android apps.
I need help for the nodejs and the npm instructions. Can you explain it out in details for morons?
Sorry late reply... which steps are you getting confused at (for node/npm install) ? So for starters :
- if you open a command prompt and type "node -v" does it tell you the version of node your running? If so, what version does it say?
- if you type "npm -v" does it tell you the version of npm you are running or give an error? Tell version or error.
So i'll start with that to make sure your paths are set up.
I created an installer utility to install node-chakracore along with NPM. Hopefully this will make it easier for other or myself to install or upgrade as new versions of node-chakracore and npm come out.
The final step in the process (updating the system PATH environment variable) requires admin permissions so right click executable and run 'As Administrator'. If you prefer to set the environment variables yourself, this step will tell you the paths it would add.
9/13/16 : Updated default node chakracore download link to new 7.0.0-pre9 release, added a 'Complete' tab with links to further resources and made UI fix

Autoremote actions WinRT 1.0 (android users)

Hello Windows RT Fans
I wanted to introduce my little desktop program "Autoremote actions".
Its specifically for android users who use an app called "Autoremote" (+optional Autovoice).
With Autoremote you can control many fucntions and run tasks on your phone or tablet.
I use my program to control my smart home devices from Surface.
How to use:
1. Generate IFTTT/personal link for your device in "Autoremote" android app (Autoremote -> registered devices -> hold on IFTTT -> generate IFTTT URL)
2.Paste that URL to my program -> Menu -> Autotemote LINK config. (If you want to use Autovoice -> check the checkbox)
3.Define your commands -> menu -> Commands ( Left name of the command and right your Autoremote message)
You can save profiles aswell
4. Thats it. If you have working internet connection you will be able to send messages to autoremote and with that messages you can run just any task on your phone/tab.
I've tested it on my Surface 2 (Windows RT 8.1) and windows 10, so it works on x86, x64 and ARM architecture. So please TEST it and write here if it works for you.
Enjoy
I would be grateful if you could support my work:
DONATE

Categories

Resources