Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
a99afdf6
Commit
a99afdf6
authored
Jul 04, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#12898 IEでクロスドメインのajax通信が出来ない
parent
f4720e73
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
15 deletions
+29
-15
abvw/bookmark.html
+1
-1
abvw/common/js/avweb.js
+20
-5
abvw/contentsearch.html
+1
-1
abvw/contentview.html
+1
-1
abvw/history.html
+1
-1
abvw/home.html
+1
-1
abvw/settings.html
+1
-1
login.html
+3
-4
No files found.
abvw/bookmark.html
View file @
a99afdf6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
abvw/common/js/avweb.js
View file @
a99afdf6
...
...
@@ -579,12 +579,27 @@ function avwGrabContentPageImage(accountPath, params, success, error) {
// バイナリ形式で画像イメージを取得し、Base64にエンコードする
var
xmlHttp
;
var
ie
=
false
;
if
(
window
.
ActiveXObject
)
{
xmlHttp
=
new
ActiveXObject
(
'Msxml2.XMLHTTP'
);
ie
=
true
;
}
else
{
//if(window.ActiveXObject) {
// xmlHttp = new ActiveXObject('Msxml2.XMLHTTP');
// ie = true;
//} else {
//xmlHttp = new XMLHttpRequest();
//}
//IE10以降はXMLHttpRequestを優先して使う
try
{
xmlHttp
=
new
XMLHttpRequest
();
}
catch
(
e
){
try
{
xmlHttp
=
new
ActiveXObject
(
"Msxml2.XMLHTTP"
);
ie
=
true
;
}
catch
(
e
){
showSystemError
();
return
;
}
}
xmlHttp
.
open
(
'get'
,
apiUrl
);
xmlHttp
.
setRequestHeader
(
'X-AGT-AppId'
,
sysSettings
.
appName
);
xmlHttp
.
setRequestHeader
(
'X-AGT-AppVersion'
,
sysSettings
.
appVersion
);
...
...
@@ -600,7 +615,7 @@ function avwGrabContentPageImage(accountPath, params, success, error) {
/*
//base64 encode
var ids = new ImageDataScheme();
var src;
// Image Data URI
var src;
// Image Data URI
if(ie) {
// for IE
...
...
abvw/contentsearch.html
View file @
a99afdf6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
abvw/contentview.html
View file @
a99afdf6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9,10
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
abvw/history.html
View file @
a99afdf6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
abvw/home.html
View file @
a99afdf6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9,10
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
abvw/settings.html
View file @
a99afdf6
...
...
@@ -3,7 +3,7 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9,10
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
login.html
View file @
a99afdf6
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<!DOCTYPE html>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
9
,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=
edge
,chrome=1"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-store"
>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment