This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev 1.1.6 (#33) - Fix play store listing, add sharing options, update…
… css & js * Remove play store listing updates * Fix up listing * Combine url getters for overlay activity * Begin building context menu programmatically * Update css and js
- Loading branch information
Showing
31 changed files
with
258 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m) { border-radius: 50%; } | ||
#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { border-radius: 50%; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m) { | ||
#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { | ||
border-radius: 50%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
if(!window.hasOwnProperty("frost_click_a")){ | ||
console.log("Registering frost_click_a"); | ||
window.frost_click_a=true; | ||
var _frostAClick=function(e){ | ||
var element=e.target||e.srcElement; | ||
if(element.tagName!=="A")element=element.parentNode; | ||
if(element.tagName!=="A")element=element.parentNode; | ||
if(element.tagName==="A"&&element.getAttribute("href")!=="#"){ | ||
var url=element.getAttribute("href"); | ||
if(url.includes("photoset_token"))return; | ||
console.log("Click Intercept",url); | ||
Frost.loadUrl(url); | ||
e.stopPropagation(); | ||
e.preventDefault(); | ||
}}; | ||
document.addEventListener("click",_frostAClick,true); | ||
console.log("Registering frost_click_a"), | ||
window.frost_click_a=!0 | ||
;var prevented=!1,_frostAClick=function(e){ | ||
var t=e.target||e.srcElement | ||
;if("A"!==t.tagName&&(t=t.parentNode),"A"!==t.tagName&&(t=t.parentNode), | ||
"A"===t.tagName&&"#"!==t.getAttribute("href")){ | ||
var n=t.getAttribute("href") | ||
;if(n.includes("photoset_token"))return | ||
;prevented||(console.log("Click Intercept",n), | ||
Frost.loadUrl(n)),e.stopPropagation(), | ||
e.preventDefault() | ||
} | ||
},_frostPreventClick=function(){ | ||
console.log("Click prevented"),prevented=!0 | ||
} | ||
;document.addEventListener("click",_frostAClick,!0),document.addEventListener("touchstart",function(e){ | ||
setTimeout(_frostPreventClick,500) | ||
},!0),document.addEventListener("touchend",function(e){ | ||
prevented=!1 | ||
},!0) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
//context menu for links | ||
//largely mimics click_a.js | ||
if (!window.hasOwnProperty('frost_context_a')) { | ||
console.log('frost_context_a frost_click_a'); | ||
window.frost_context_a = true; | ||
|
||
var _frostAContext = function(e) { | ||
|
||
|
||
/* | ||
* Commonality; check for valid target | ||
*/ | ||
var element = e.target || e.srcElement; | ||
if (element.tagName !== 'A') element = element.parentNode; | ||
//Notifications is two layers under | ||
if (element.tagName !== 'A') element = element.parentNode; | ||
if (element.tagName === 'A' && element.getAttribute('href') !== '#') { | ||
var url = element.getAttribute('href'); | ||
if (url.includes('photoset_token')) return; | ||
|
||
|
||
|
||
console.log('Context Intercept', url); | ||
Frost.contextMenu(url); | ||
e.stopPropagation(); | ||
e.preventDefault(); | ||
} | ||
} | ||
|
||
document.addEventListener('contextmenu', _frostAContext, true); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
if(!window.hasOwnProperty("frost_context_a")){ | ||
console.log("frost_context_a frost_click_a"), | ||
window.frost_context_a=!0 | ||
;var _frostAContext=function(t){ | ||
var e=t.target||t.srcElement | ||
;if("A"!==e.tagName&&(e=e.parentNode),"A"!==e.tagName&&(e=e.parentNode), | ||
"A"===e.tagName&&"#"!==e.getAttribute("href")){ | ||
var o=e.getAttribute("href") | ||
;if(o.includes("photoset_token"))return | ||
;console.log("Context Intercept",o),Frost.contextMenu(o), | ||
t.stopPropagation(),t.preventDefault() | ||
} | ||
} | ||
;document.addEventListener("contextmenu",_frostAContext,!0) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.