Hot answers tagged

2

There does not appear to be a built-in keyboard shortcut to change the position of a given tab amongst other tabs in Safari. At least none listed in the Apple Support Documents listed below. Safari 6/7 (Mavericks): Safari shortcuts Safari 8 (Yosemite): Safari keyboard and other shortcuts Safari 9 (El Capitan): Safari keyboard and other shortcuts One ...


2

Word wrap works a little differently, but actually more accurate, in the latest versions of Safari, depending on the mode you're displaying. For instance, in the "Elements" tab, it will wrap as desired: But, like in your screenshot, the "Resources" tab for instance, it will display as the rendering engine intended, unwrapped:


2

There is no way to enable this. Safari extensions are restricted to accessing the extensions folder and nowhere else. If you need to access local resources, use safari.extension.baseURI + “relative path and filename”. You cannot access resources on the user’s hard drive outside of the extensions folder. Source: Injecting Scripts - Safari Extensions ...


1

URL is a property of a document or a property of a tab in a window, so use this: if URL of document 1 is "www.google.com" then or this: if URL of current tab of window 1 is "www.google.com" then


1

Without Xcode, there's not really any way to get an iOS simulator that I know of. Alternatively, you could download Xcode and just pull the iOS simulator out of it from the path Xcode.app/Contents/Developer/Applications/Simulator.app. edit: to run Safari in Debug mode on your virtual iPhone, there are a set of instructions on tutsplus. In essence: open ...


1

I think the explanation is that Safari often uses the cached version of the page when you use the back button. If you want to force a refresh, you hit refresh. If you are on a forum and want to go back to the thread listing, you can usually click on a "breadcrumb" link near the page header. That will have the same effect as using the back button and hitting ...


1

Try the following: tell application "Safari" activate delay 0.5 end tell tell application "System Events" open location "http://localhost:38" delay 0.5 keystroke "w" using command down keystroke "n" using {shift down, command down} end tell Now here is the code I'd choose to use as it checks to see if Safari is already open and ...


1

It's System Events that handles the keystrokes. In normal AppleScript the code would look like: tell application "Safari" activate delay 0.5 tell application "System Events" key code 19 using command down end tell end tell As an osascript command line, it would be: osascript -e 'tell application "Safari" to activate' -e 'delay ...


1

Apparently, Telegram Desktop generates these files during "failed" searches when using the @gif command. The ones that Telegram generates are easily identified by being named with a series of 18 digits (e.g 532576936841446647.download), usually similar to one another, and always at zero-bytes length. You can replicate the issue by trying some @gif searches ...


1

The Opera web browser is still up-to-date. It's what I'm using as my MacBook can't run anything newer than OS 10.7.5.


1

$0 - $4 The $0, $1, $2, $3 and $4 commands work as a historical reference to the last five DOM elements inspected within the Elements panel or the last five JavaScript heap objects selected in the Profiles panel. $0 returns the most recently selected element or JavaScript object, $1 returns the second most recently selected one, and so on.


1

There's an option called resume I think - check out this post. https://discussions.apple.com/thread/4140495?tstart=0. To quote the answer, you can do System Preferences > General > Uncheck 'Close windows when quitting an application' Not exactly what you want, but it's a possible alternative maybe?



Only top voted, non community-wiki answers of a minimum length are eligible