View FACommentNotify.js
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
// ==UserScript== | |
// @name FA message notifier | |
// @namespace Artex | |
// @version 0.1 | |
// @description | |
// @author Artex | |
// @match https://www.furaffinity.net/advertising.html | |
// @grant none | |
// @require https://www.difetra.com/scripts/favico-0.3.10.min.js | |
// ==/UserScript== |
View FABetaFixes.css
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
/*visited links*/ | |
.t-image a:visited { | |
color: #96ADFF !important; | |
} |
View FAStatTrack.js
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
// ==UserScript== | |
// @name Furaffinity stat tracker | |
// @namespace Artex | |
// @include http://www.furaffinity.net/browse?stats=true | |
// @require http://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.js | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
View toExifJSON.js
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
function toExifJSON(json) { | |
console.log(json); | |
var data = JSON.parse(json); | |
var exif = []; | |
for (var file in data) { | |
if (data.hasOwnProperty(file)) { | |
exif.push({ | |
"SourceFile": file, | |
//I just noticed title is missing from the last version of my scraper, where'd it go? | |
"Creator": data[file].artist, |
View FN_Flex-Images.js
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
// JavaScript flexImages v1.0.2 | |
// https://github.com/Pixabay/JavaScript-flexImages | |
var flexImages=function(){function e(e){function t(e,r,n,i){function o(e){n.maxRows&&g>n.maxRows||n.truncate&&e&&g>1?c[a][0].style.display="none":(c[a][4]&&(c[a][3].setAttribute("src",c[a][4]),c[a][4]=""),c[a][0].style.width=l+"px",c[a][0].style.height=h+"px",c[a][0].style.display="block")}for(var a,l,s,d,f=1,g=1,u=e.clientWidth-2,c=[],m=0,h=n.rowHeight,w=0;w<r.length;w++)if(c.push(r[w]),m+=r[w][2]+n.margin,m>=u){var p=c.length*n.margin;for(f=(u-p)/(m-p),h=Math.ceil(n.rowHeight*f),s=0,l,a=0;a<c.length;a++)l=Math.ceil(c[a][2]*f),s+=l+n.margin,s>u&&(l-=s-u),o();c=[],m=0,g++}for(a=0;a<c.length;a++)l=Math.floor(c[a][2]*f),d=Math.floor(n.rowHeight*f),o(!0);i||u==e.clientWidth||t(e,r,n,!0)}if(document.querySelector){var r={selector:0,container:".item",object:"img",rowHeight:180,maxRows:0,truncate:0};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(var i="object"==typeof r.selector?[r.selector]:document.querySelectorAll(r.selector |
View LrTagImporter.lua
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
--[[ Debug ]] | |
local Require = require 'Require'.path ("../debugscript.lrdevplugin") | |
local Debug = require 'Debug'.init () | |
require 'strict' | |
local json = require("json") | |
local FileUtil = import("LrFileUtils") --for readFile | |
local Dialogs = import("LrDialogs") --for runOpenPanel to select tags file | |
local Application = import("LrApplication") --for activeCatalog | |
local Tasks = import("LrTasks") |
View MengerSpongeRbx.lua
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
function MakePartCube(cube) | |
local cubes = {} | |
local holes = { | |
[5]=true, | |
[11]=true, | |
[13]=true, | |
[14]=true, | |
[15]=true, | |
[17]=true, | |
[23]=true |
View LookVector.lua
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
function LookVector(surface, cframe) | |
local direction = { | |
["Front"] = cframe.lookVector; | |
["Back"] = cframe.lookVector*-1; | |
["Left"] = (cframe * CFrame.Angles(0, -math.pi/2, 0)).lookVector; | |
["Right"] = (cframe * CFrame.Angles(0, math.pi/2, 0)).lookVector; | |
["Top"] = (cframe * CFrame.Angles(math.pi/2, 0, 0)).lookVector; | |
["Bottom"] = (cframe * CFrame.Angles(-math.pi/2, 0, 0)).lookVector; | |
} | |
return direction[surface] |
View Dropdown.lua
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
--[[ LOCAL SCRIPT ]]-- | |
local Dropdown = require(game.ReplicatedStorage.Dropdown) | |
local Gui = game.Players.LocalPlayer.PlayerGui:WaitForChild("ScreenGui") | |
local TestList = Dropdown.Create({"one","two","three","four","five"}, Gui) | |
TestList.Button.Position = UDim2.new(0.5,-50,0.5,-25) | |
TestList.OnSelect(function(value) | |
print("Selected: ", value) |
View Create.lua
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
function create(name, parent) | |
local priority = { | |
"BottomSurface", | |
"TopSurface", | |
"LeftSurface", | |
"RightSurface", | |
"FrontSurface", | |
"BackSurface", | |
"Shape", | |
"FormFactor", |
NewerOlder