How to display source code of a webpage in Safari 7.0?
Hello. I'm unable to find how we used to once enable developing tools in Safari Preferences or simply CMD + ALT + A to display the source code of a webpage. Now I've no clue how to display source code of a webpage in Safari 7.0 on Mac OS X Mavericks. Help.
Hi gss2,
Make sure you are not under the Apple icon but under Safari>Preferences>Advanced. All the way at the bottom check the box that says: "Show Develop menu in menu bar."
Now go back to the page you want to get the source code for, right click on it and choose Inspect Element. Hope this helps.
Cheers,
LURDS LLC
Similar Messages
-
Please let me know how to display source code
Hi everyone.
my name is Kazuma working in Japan.
We have a problem with SE38.
We transport one of executives program, which made from other development system, to our system.
When we use SE38 and display botton, we encounter short dump like below and can't see source code.
We want to know how we change BASIS or program.
If somebody know similar situation, please let us know.
>>ERROR MESSAGE
The Import dataset has been destroyed
What happened?
The current ABAP/4 program "SAPLLOCAL_EDT1" had to be terminated because one of the statements could not be executed
This is probably due to an error in the ABAP/4 program
Error analysis
The dataset could not be imported because it was in an unexpected format
This is usually because the dataset has been destroyed as a result of directly manipulating the IMPORT/EXPORT data by other means (such as explicitly deleting parts of the dataset with SQL commands instead of using DELETE FROM DATABASE, u2026)
In this case, the dataset header is already invalid
In other words: The version ID of the dataset is invalid
System environment
SAP Release 4.6C
Application server sdax31
Operating system SunOS
Release 5.8
Hardware type sun4us
Database server sdax31
Database type ORACLE
Database owner SAPR3
SAP kernel 46D
Patch lebel 1646
Patch text ""
Information of where termination occurred
The termination occurred in the ABAP/4 program "SAPLLOCAL_EDT1" in "GET_MODIFICATION_INFORMATION"
The main program was "RSABAPPROGRAM"
The termination occurred in line 143 of the source code of program "LLOCAL_EDT1U36" (when calling the editor 1430)
Edited by: kazuma mukai on Mar 3, 2009 6:34 PMWelcome to SCN
Try to
create the same program in your DEV client , by cut & paste the code from the other envionment , this will create a transport, activate the program and transport.
This will be roundway solution
Do you have any previous version to this program in the version management?
a® -
How to read the html source code of a webpage.
How can I read the html source code of a webpage with a java application?
Is there a good idea?>
How can I read the html source code of a webpage
with a java application?
Is there a good idea?
I don't know if this is a good idea, but it works.
1) Use a URL to obtain the document's location
2) Use a URLConnection to open a connection between your computer and the
document server
3) Connect to the server
4) Get the InputStream of said connection
5) Associate the Input Stream with a Buffered Input Stream
At this point you can use a loop to read lines from the BufferedInput Stream and append them to a TextArea or other suitable text component. -
How to avoid "Cannot display source code at this location"?
This debugger message really annoys me. It seems to me that
sometimes when my program fails the debugger returns nice friendly
messages telling me exactly what line numebr an object is
undefined. This is great. But half the time I get message of this
nature.
at main_fla::MainTimeline/ot()
at main_fla::MainTimeline/buttMouseEvent()
Cannot display source code at this location.
Why does the debugger refuse to show the line number of the
code sometimes?
Is there acoding practice that one should use to avoid these
unhelpful debug messages?
It is very annoying when you have a 200 line function that
tells you that somehting is undefined SOMEWHERE in the function
without giving you a line number. Granted at least AS3 does
actually warn you....(unlike AS2) but I am constantly plagues by
these "Cannot display source code at this location" messages.
An anyone offer any explanation to why these messages dont
display line numebrs or how to code in a way that avoids them?
thanksJLundan,
I want to thank you for responding to the thread I started on the forum at java.sun.com. Your solution to my problem of needing to print the code of the html pages that the file I included generates was just what I was looking for. However, I have some further questions to ask, if you don't mind. To clarify my task I should say that your rephrasing of the problem is accurate: "You wan't to display the contents of the HTML file that the web server produces in response of client's request?"
Yes, this is what I need to do, but also it needs to display the source code of that html file that the server produces in response to the client's request. Also, in this case, I am the client requesting that the server return some html file, and I'm not sure where the server is. But the webserver.java file that I shared on the forum is on my local machine. I was wondering if I could modify this webserver.java file at my home so that any html file the server returns to me would automatically display the source code. This is a school project of mine and I am stuck on this one thing here.
Further, where would I put the "foo.html" file so it can be written to?
FileOuputStream fos = new FileOutputStream("foo.html");
fos.write(bytes);
fos.close();
Thanks so much for your help. I look forward to your response, at your convenience.
Regards -
How to write source code in smart forms?
hi friends,
can anyone can help me in writing sorcecode in smartforms r
any materail link.
if it is helpful points can b rewarded.Thanks in advance.Hi,
Check this link for
how to write source code in smart forms?
http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
You can write Source Code in smartforms By Choosing Program Lines.
Check this link with Screen Shots
http://****************/Tutorials/Smartforms/PO/page1.htm
Reward All Helpfull Answers
Regards
Fareedas
Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM -
How to handle source code changes in apex
hi all,
can anybody help me plz...
how to handle source code changes in apex.
which development process is best suite for apex.
Regards
AlekhThanks Andy, so as per the suggestion we have to handle the above snippet as individual if block statements as i had shown below.
But in this case how we show the else part as NULL.
correct me if my understanding is wrong.
if 'Products' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
lv_to_email_id :='[email protected]';
end if;
if 'Materials' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
lv_to_email_id :='[email protected]';
end if;Thanks,
Anoo.. -
How to include source code in web dynpro java deployment
Hi,
We dont have NWDI.
We are creating ear files out of web dynpro applications packaging them as sca files and deploying them in server.
But the source code is not included in ear.
How to include source code with your ear/sca , so that when anyone downloads the sca file later, they are build the Project in the studio.
How would they typically download? Do they require NWDI ,
Right now we dont have NWDI in place, but we want to do is parcel the applications such that the source code should be available at a later time for download.
This is possible with .par files , but what about web dynpro?
Thanks,
DebIf you are not using NWDI use the _comp file.
-
How to display COMPANY CODE DESCRIPTION ON THE TOP LEFT OF PAGE
How to display COMPANY CODE DESCRIPTION(Field BUTXT) ON THE TOP LEFT OF EVERY PAGE OF THE REPORT GENERATED.
Actually I have collected BUTXT using
'select butxt into table itab from t001 where bukrs = p_bukrs'
where p_bukrs is the selection screen field.
REQUIREMENT: Depending on what company code we give on the selection screen, corresponding company code description(butxt) should be displayed at the top left of every page. how would i display it in TOP-OF-PAGE EVENT.Hi
It's very simple, but what is the need to use <b>into table itab</b> in your select query.
Rather, define a variable
data: v_butxt type t001-butxt.
Select butxt into v_butxt from t001 where bukrs = pbukrs.
TOP-OF-PAGE.
write :/ v_butxt.
Regards
Surya. -
How to display BAR-CODE through ABAP report
Hi,
Could you please help me, how to display BAR-CODE through the ABAP report.
I am writing below code, but BAR-CODE is not displaying on report.
PRINT-CONTROL FUNCTION 'SBP01'.
WRITE: 20 BAR_CODE1 NO-GAP.
PRINT-CONTROL FUNCTION 'SBS01'.
Regards,
SSRAJU.Hi RAJU,
you can see this forum link and its sub-links, here it is clear about it.
Re: Barcode printing on report
Thanks & Regards,
Dileep .C -
Where is View Source? How can the source code of a website be viewed?
Where is View Source? How can the source code of a website be viewed?
View Source used to be accessed via a drop-down menu, but no longer. Why?
I'm using Firefox 24.0.1.)Get into Firefox.
2.)open any page that you want to see the source code.
3.)After complete opening of the page do"right click"then you can see view page source,click it to see Source of the page.
Thank you. -
How to obtain source code of weka and enable to modify it
hello,
how to obtain source code of weka and enable to modify it such i want to extract code of some process that I makeHi ENG,
Since the issue regards to Weka. It is out of the support boundaries of our forum, I suggesT you post the question in the following forum:http://forums.pentaho.com/forumdisplay.php?81-Pentaho-Data-Mining-WEKA.
It is appropriate and more experts will assist you.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to migrate source code from TFS 2010 to a new TFS 2010
Hi,
Please help me, How to migrate source code from TFS 2010 to a new TFS 2010. we are using SQL 2008 R2 for DB storage and we have Backup of TFS DB. First TFS 2010 is live environment and second TFS 2010 is test environment both OS and SQL version is same.Hi Pankaj0439,
In general, to move TFS from a hardware to another, you can follow the steps as below:
1. Check your permissions
2. Back up databases and install software
3. Restore TFS databases to the new hardware
4. Update the configuration of the new application-tier server
5. Verify permissions, notify users, and configure backups
And you can also refer to this
article in MSDN for more details.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Safari Displays Source Code by Default
I've set file:///Users/MyName/Sites/1/index.php as my home page on all my browsers. It works fine in Firefox and Opera, but in Safari it displays the source code. Can someone tell me what's going on and how to fix it?
Thanks.Here's the head section and beginning body section. (I just discovered I have
two instances of <style type='text/css'> though I wouldn't think that would nix the page display.):
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title></title>
<style type="text/css">
body { margin: 0; padding: 5px 15px 25px; background: #fff; font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 90%; font-weight: normal; color: #000 }
p { text-align: left; text-indent: 0px }
/* HYPERLINKS */
a:link { color: #0000ff; text-decoration: none }
a:visited { color: #0000ff; text-decoration: none }
a:hover { color: #ff0000; background-color: #ffff00; text-decoration: none }
div { padding: 5px; }
div#toplinks { border-bottom: 1px solid #000; }
div#geobop { background: #cff; }
div#rep5 { background: #fcc; }
div#media { background: #ff9; }
div#ref { background: #eee; }
div#computers { background: #cff; }
div#allies { border-bottom: 1px solid #000; }
.hilite { padding: 0px 5px 0px; background: #ff0; }
.yellow { padding: 0px 5px 0px; background: #ff0; }
.aqua { padding: 0px 5px 0px; background: #0ff; }
.lime { padding: 0px 5px 0px; background: #0f0; }
.green { padding: 0px 5px 0px; background: #cfc; }
.red { padding: 0px 5px 0px; background: #ffc; }
.blue { padding: 0px 5px 0px; background: #cff; }
.gray { padding: 0px 5px 0px; background: #eee; }
</style>
<style type='text/css'>
body {
margin:0; padding:0;
color:#000; background:#fff;
font-family:verdana,arial,sans-serif;
h3, h4 { margin: 0px; padding: 0px; }
#page {
margin:0% 10%;
background:#fff;
#header {
margin:10px; padding:5px;
border:1px dotted #333;
#title { padding: 0px;
.menu {
background:#ff9;
#content {
margin:1em; padding:1em;
border:1px dotted #333;
#footer {
margin:1em; padding:1em;
text-align:center;
border:1px dotted #333;
.app {
margin:1em; padding:.2em;
background:#eee;
border:1px dotted #333;
.app p {
margin:0; padding:0;
.fltL3 {
float:left;
width:28%;
padding:1em;
.fltL4 {
float:left;
width:20%;
padding:.5em;
.fltL5 {
float:left;
width:15%;
padding:.5em;
.clrBoth {
clear:both;
</style>
<script type='text/javascript'>
// if js is disabled we want app elements to be visible
// so they are visible by default in the CSS
document.write("<" + "style type='text/css'>.app{display:none;}<" + "/" + "style>");
window.onload = function()
dsds_onload();
function dsds_onload()
var ln=1, // lnk number
lo=1; // lnk object
for (; lo; ++ln) {
lo = document.getElementById('lnk' + ln);
if (lo) {
lo.appId = 'app' + ln;
lo.onclick = dsds_onclick;
window.currentAppId = null; // global
// assumes app elements have display:none initially
function dsds_onclick()
var e;
if (currentAppId && currentAppId != this.appId) {
e = document.getElementById(currentAppId);
e.style.display = 'none';
e = document.getElementById(this.appId);
if (e.style.display == 'block') {
e.style.display = 'none';
currentAppId = null;
else {
e.style.display = 'block';
currentAppId = this.appId;
return false;
</script>
</head>
<body>
Basics
<!-- Menu 1 -->
Popular |
Biz |
Search/Rank |
MyComputer |
Personal |
Medical |
Jobs |
Calendar |
Notes |
Misc
<!-- end Menu --> -
HTMLEditor : how to display Source and parsed content ?
Hi everyone,
I'm currently working on a HTMLEditor that consists of
one tabbed pane and a tool bar.
My tabbed pane has two associated panes :
Editor ( a JTextPane)
Source ( a JEditorPane)
I already know how to bind my JTextPane to a HTMLKit and bind the HTMLKit to a HTMLDocument.
When I type text in my JTextPane it appears just as it should in a web browser (it's already parsed).
What I would like to do now is to display the source of
the HTML document when I click on the source Tab.
I already know how to write this source into a file from the JTextPane, but instad of wirting the source into a file I would like to write it in the JEditorPane.
Is this a View issue ? Do I have to plug a different View to my Editor so it displays the HTMLDocument ? And if it's so, how do I do ? Isn't there any standard view ready to this ? To display HTML Source code from an existing HTMLDocument ?
Thanxs for the helpHere's some working code snippet to illustrate what I meant:
assuming editorPane being a usual JEditorPane/JTextPane used to do the editing and sourcePane a JEditorPane to show the source (text + tags) then create the sourcePane with:
private JEditorPane createSourcePane() {
JEditorPane sourcePane = new JEditorPane();
sourcePane.setEditable(false);
sourcePane.setContentType("text/plain");
return sourcePane;
}to show the (complete) source after some edit:
private void showTree() {
if ((sourcePane == null) || (editorPane == null)) return;
Reader reader = null;
try {
char[] chars = getSource();
D.ebug("got array " + chars.length);
reader = new CharArrayReader(chars);
Document doc = new PlainDocument();
sourcePane.getEditorKit().read(reader, doc, 0);
sourcePane.setDocument(doc);
} catch (Exception ex) {
ex.printStackTrace();
} finally {
try {
reader.close();
} catch (IOException ioEx) {
ioEx.printStackTrace();
private char[] getSource() {
CharArrayWriter writer = null;
try {
writer = new CharArrayWriter();
editorPane.getEditorKit().write(writer, editorPane.getDocument(), 0, editorPane.getDocument().getLength());
return writer.toCharArray();
} catch (Exception ex) {
ex.printStackTrace();
} finally {
try {
writer.close();
} catch (Exception ioEx) {
ioEx.printStackTrace();
return null;
}simply setting the contentType of the sourcePane to text/plain and then do a
sourcePane.setDocument(editorPane.getDocument()) does show the unformatted text of the html without the tags.
Greetings
Jeanette -
How to get source code for WinCE 6.0 USB Camera Driver for ARM4I Processor
Hi,
I am implementing USB camera driver for my mini2440 board which has an ARM4I processor. The sample code
"Windows Embedded CE 6.0 USB camera Driver" downloaded from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2
does not support ARM4I processors. When trying to generate in VS2005 Platform Builder my WinCE 6.0
image for mini2440 with the Third party catalog items "MJPEG Decompression Filter" and "USB CameraDriver",
the linker giver errors. Please advise where to find a working source code for USB (now revision 1.1
("full-speed") is supported in my WinCE 6.0 image) camera for my ARM4I processor. The code should
be in C# but C++ will be fine also.
Thanks,
Pauli get this on the hyperterminal when i run the cameradshowapp.exe
Compulab Windows CE NAND X-Loader for CM-T35
Built Dec 20 2009 at 16:48:16
Version 1.01.222
Commit Date 16/12/09
Jumping to bootloader
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Dec 20 2009 16:
46:16
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0x200b
Texas Instruments Windows CE EBOOT for CM-T35, Built Dec 20 2009 at 16:48:10
Version 1.01.222
OMAP3430 Version 0x4b7ae02f (Unknown)
TPS659XX Version 0x10 (ES2.x)
-OEMPinMuxSetup....
System ready!
Preparing for download...
INFO: Predownload
+FMD_Init
Checking bootloader blocks are marked as reserved (Num = 6)
+FMD_Init
WARN: Boot config wasn't found, using defaults
+FMD_Init
OALFlashStoreOpen: 4096 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks
Calling LCD_TurnOn
+FMD_Init
+FMD_Init
BLConfigureFlashPartitions: dwBootPartitionSectorCount = 0x5fff, partition actua
l size =0x4d3a!!!
Hit space to enter configuration menu 5...
Hit space to enter configuration menu 4...
Hit space to enter configuration menu 3...
Hit space to enter configuration menu 2...
Hit space to enter configuration menu 1...
INFO: Boot Device location = 0x8000020
Load NK image from flash memory
+FMD_Init
ROMHDR (pTOC = 0x823b8c28) ---------------------
DLL First : 0x4001c001
DLL Last : 0x41c7c0d8
Physical First : 0x84001000
Physical Last : 0x863bbdec
Num Modules : 294
RAM Start : 0x863c0000
RAM Free : 0x863d5000
RAM End : 0x90800000
Num Copy Entries
Copy Entries Offset : 0x85256e38
Prof Symbol Length : 0x00000000
Prof Symbol Offset : 0x00000000
Num Files : 116
Kernel Flags : 0x00000002
FileSys RAM Percent : 0x00000020
Driver Glob Start : 0x00000000
Driver Glob Length : 0x00000000
CPU : 0x01c2
MiscFlags : 0x0002
Extensions : 0x84002020
Tracking Mem Start : 0x00000000
Tracking Mem Length : 0x00000000
NK Image Loaded
Launch Windows CE image by jumping to 0x80001000...
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 5 2011 at 17:47:22
+OEMInit
ýSETDATAOUT access is OK....
Forcing clean boot
MainMemoryEndAddress = 0x90800000
-OEMInit
+FMD_Init
Dumping registry defined VK
Row 0: 0x18 0x9 0x25 0x0 0x0 0x0
Row 1: 0x26 0xd 0x28 0x0 0x0 0x0
Row 2: 0x27 0x24 0x23 0x0 0x0 0x0
Row 3: 0x0 0x0 0x0 0x0 0x0 0x0
Row 4: 0x0 0x0 0x0 0x0 0x0
Row 5: 0x0 0x0 0x0 0x0 0x0 0x0
SMSC922x: Core Ethernet Init.
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:0a:a0:db
Lan9220 identified. ID_REV = 0x92200000
SMSC922x: MAC address = 00:01:c0:09:88:80
SDIO8686: Loading Driver [version = 38.p44]
SDIO8686: Reset with TPS GPIO 2 --> done
!!!Kernel mode PSL 'PRdr' de-registered!!!
!!!Kernel mode PSL 'HRdr' de-registered!!!
!!!Kernel mode PSL 'FRdr' de-registered!!!
EHCI USB Host: HcdPdd_Init+
[OTG] OMAPMHSUSBOTG::Init()+
OMAPMHSUSBOTG::PostInit(): Start.
DSPLINK Module (1.61.04) created on Date: Jun 24 2009 Time: 16:30:52
Display parameters:
Height = 0x280
Width = 0x1e0
HSW = 0x20
HFP = 0x8
HBP = 0x17
VSW = 0x1
VFP = 0x4
VBP = 0x3
DVI is not enabled
PixelClkDiv = 0x7
LogClkDiv = 0x1
ClkSelDSS = 0x5
TD035:: LCDTurnOn
TD035STEE1: Turned display on.
TD035:: Finished LCD VGA init
AUTOLAUNCH: Checking HKEY_LOCAL_MACHINE\Startup key for programs to run.
Can't open HKEY_LOCAL_MACHINE\Startup key.
[WiFi]: Firmware Version: 9.70.3.23
CCaptureFramework: Failed setting up the camera data.
CameraDShowApp: Initializing the camera driver list failed.CameraDShowApp: Retri
eving the driver list failed.CameraDShowApp: Selecting the camera device failed.
CameraDShowApp: Selecting the camera device failed.CameraDShowApp: Selecting the
camera device failed.CameraDShowApp: Selecting the camera device failed.CCaptur
eFramework: Retrieving the still stream config failed.
CameraDShowApp: Initializing the capture graph failed.
Maybe you are looking for
-
Aging - 7 Bucket - By Collector Report
Hi , Can anyone help me how to create Standard Report 6i (Aging - 7 Bucket - By Collector Report) in Discoverer 10g. Regards, Sushant
-
How to keep itunes from syncing everytime i connect my iphone
how can i keep itunes from automatically syncing my iphone 4 and ipad 2 everytime i plug into my windows pc. sometimes i simply just want to import pictures.
-
I notice when I plug in my phone to my computer and look at what's "On this iPhone" it says that I have a book on there (one that was a free download from something), but I don't have iBooks installed on my phone. How do I remove the book?
-
My problem is that I can't find the Preferences option in the help menu on Photoshop. Can you tell me where it is?
-
I just bought Creative Cloud, and in Photoshop, "liquify" doesn't save. I can make all the changes I like to the image, and when I click "Ok," I get a message reading, "A write permissions error has occurred." I see someone else has had this proble